Home >Backend Development >PHP Tutorial >php-jquery局部刷新接收数据Smarty重新执行

php-jquery局部刷新接收数据Smarty重新执行

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-02 11:30:071049browse

phpsmartyjquery

页面开始代码段

<code><span style="margin-left:30px;">地址:<span name="addr" id="addr"></span></span></code>

页面加载完之后执行一个ajax请求一个html拼装语句
php

<code> 'area' => "",</code>

之后再

<code> $j("#addr").html(data.area);</code>

可是呢现在页面上输出的是
图片说明

有没有办法用Smarty重新解析下?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn