Below is the html code which i am using
<a onclick="submit_details('143','v
VASANT','PATIL','8275053468','425201');" href="javascript:;">2</a>
Below is the function call its going
function submit_details(pid,fname,lname,phone,zip){
$("#sp_value").val(pid);
$("#sf_value").val(fname);
$("#sl_value").val(lname);
$("#sph_value").val(phone);
$("#sz_value").val(zip);
$("#detail_form").submit();
}
whicle clicking i am getting error Uncaught SyntaxError: Unexpected token ILLEGAL in the error console