【发布时间】:2017-08-05 02:02:49
【问题描述】:
我有一行代码,其中包含“$”值,Wordpress 似乎不接受。如何调整“$”,以便 Wordpress 正确读取?
jQuery(document).bind('gform_post_render',function(){
jQuery('#input_24_4').change(function(){
jQuery('#input_24_3').data('amount',$(this).val());
});
});
【问题讨论】:
-
把
$(this).val()改成jQuery(this).val()?
标签: javascript jquery wordpress syntax-error