开发者

how to send a form using jquery and ajax

开发者 https://www.devze.com 2023-02-27 17:46 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消