#1 恋上一座成
例如:后台中$a = 'helloworld';
$this->string = $a;
$this->dispaly('a.html');
a.html用{$string}接收后台传过来的变量,a.html中引用了一个a.js文件
a.js文件怎么接收后台传过来的变量
2016-01-07 20:59:07
2016-01-07 20:59:07
2016-01-09 00:28:28
恋上一座成 发表于 2016-1-9 00:28
jake,我的意思不是用ajax请求接收数据,直接后台传到前台的变量,jquery可以直接接收吗
...
2016-01-11 08:55:08