I think you should be posting this in the programming forum. This post does not apply to Cel's MOD.
I am trying to help, but I need to see the other part of this JavaScript / jquery code you are working with. You did not post PHP. Unfortunately it doesn't look like valid JavaScript or jquery either. So I am at a little bit of a loss to assist you.
Re-post as a new thread in the programming forum and post your source references, including function 'sociallocker'. Once we see the full picture it should be easy enough to help you.
|