I just spent a little time wrestling with an annoying JQuery error when trying to select a form element by name.
I was using the following code to simply grab the contents of a hidden field named 'required':
I got this syntax from a quick google search and found it referenced on a number of web guides about JQuery.
However, when I used it I got the following error in Firefox:
Well after some head scratching and then some more searching I found the answer. The @ syntax is no longer supported in JQuery 1.3+.
So the simple fix is to just remove the @ and it'll work as expected:
Hopefully this will help someone who, like me, hit's Google when looking for a quick fix to a problem.. :)