how to send a form using jquery and ajax
what is wrong in my function can somebody please fix it... or tell me any better solution
$("#temp_result").load("ef_StdInfo_todb.php", [{name:'std_first_name', value:'somevalue'},{name:'std_last_name'开发者_StackOverflow中文版, value:'somevalue'}]
thank you
You have a syntax error:
$("#temp_result").load("ef_StdInfo_todb.php", [{name:'std_first_name', value:'somevalue'},{name:'std_last_name', value:'somevalue'}]);
You are missing ");" at the end.
精彩评论