Recently, during my homework, I needed to nest pages without iframe, so I had to nest them in divs, using the jquery method.
As long as the code is so much, #button is the id of a button, and content is You need to insert the html div
and you cannot directly use $("#button").click(function() {}; because this is before the page is loaded, so you will not find what you want after the page is loaded. div, you need to add $(document).ready(function() {};
Another key point is that many people forget to quote jquery, so you must add
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