uncaught exception: Syntax error, unrecognized expression

Posted by coffeeaddict on Stack Overflow See other posts from Stack Overflow or by coffeeaddict
Published on 2010-06-07T21:40:59Z Indexed on 2010/06/07 21:42 UTC
Read the original article Hit count: 405

Filed under:

I am getting uncaught exception: Syntax error, unrecognized expression: [@name='rbRewSelectionGroup'] when I load the page:

<script language="javascript">

    $("input[@name='rbRewSelectionGroup']").click(function()
                                                   {
                                                        $(this).closest("form").submit();
                                                   });
</script>

I am not seeing it. I do not see anything wrong with this code at all. I do have the jQuery (1.4.2) library loaded with the page.

© Stack Overflow or respective owner

Related posts about jQuery