Getting Error Uncaught Syntaxerror: Unexpected Token Illegal While Clicking On Onclick
Below is the html code which i am using 2 Below is the function ca
Solution 1:
make it in single line
<aonclick="submit_details('143','v VASANT','PATIL','8275053468','425201');"href="javascript:;">2</a>
Solution 2:
You probably have embedded illegal characters in your code.
see :
Uncaught SyntaxError: Unexpected token ILLEGAL
(i am assuming you formatted your function text to fit well on two lines for the sake of posting, but still...) also, while calling the function, there should not be a newline.It should be
<aonclick="submit_details('143','v VASANT','PATIL','8275053468','425201');"href="javascript:;">2</a>
otherwise it might give different errors (based on where you have entered the newline, like interminated string constant error, in your syntax)
Post a Comment for "Getting Error Uncaught Syntaxerror: Unexpected Token Illegal While Clicking On Onclick"