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

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

WBOY
Release: 2016-06-02 11:30:07
Original
1041 people have browsed it

phpsmartyjquery

页面开始代码段

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

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

<code> 'area' => "",</code>
Copy after login

之后再

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template