Home >
Article > Web Front-end > The value of input [text] in the html() method in jquery is empty in Firefox_html/css_WEB-ITnose
The value of input [text] in the html() method in jquery is empty in Firefox_html/css_WEB-ITnose
WBOYOriginal
2016-06-24 12:24:551105browse
The html() method in jquery for the value of input [text] is empty in Firefox
There is a piece of code as follows:
is displayed in the browser as follows:
I first modify the value of text2 in IE, and then click the Copy button (copy the html in div1 to div2). This is normal. As shown below, you can copy the modified value of text2 to
in div2. Open it with Firefox. First modify the value of text2, and then click copy. At this time, only the original generated html is copied. The middle value of text2 is empty, as shown below,
Please tell me how to solve this problem. Has anyone encountered it?
Reply to the discussion (solution)
This should be posted to the js section
This should be posted to the js section Haha, I’ve posted it all before. .
Did the poster solve it? I encountered the same problem
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