在ajax成功的过程中,我有两个变量,如何在.html()属性中添加此变量。
$("#select_name").html();//"data.str & data.re are the variables
只需串联它:
$("#select_name").html(data.str+data.re);
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
点击生成二维码
我来说两句