PDA

View Full Version : Javascript voting


Yours Truly
18 Apr 2007, 19:13
My code:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



It redirects and all but it doesn't seem to register the vote.

Any ideas? :)

Cap'n Steve
20 Apr 2007, 06:52
Is that in a PHP file? I don't think that will work, since it has variables and quotes throughout the code. Also, you don't need the "javascript:" part in the onclick attributes.