[英]How to load a page using a variable in jQuery
I'm using the jquery function .load
: 我正在使用jquery函数
.load
:
$('div#content').load($lin '.entry-content');
How can I call a variable inside the brackets? 如何在括号内调用变量?
添加加号:
$('div#content').load($lin + '.entry-content');
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.