Home > Backend Development > PHP Tutorial > javascript - $.post和iframe

javascript - $.post和iframe

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-04 09:20:50
Original
1188 people have browsed it

javascript - $.post和iframe

When the a tag is clicked, get the value of ssss, use the $.post method to access the CI controller, and the controller points to a view. $.post function(data){data is the complete code of a page (verified)}. I want to turn this data into a page and stuff it into an in HTML. Set the style yourself
Then the ajax request does not return the content of the html page but returns this content. Corresponding request address

$("#test").attr("src",json.url);

Related labels:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template