Opened 13 years ago
Closed 13 years ago
#7550 closed bug (invalid)
Different results of html() function in different browsers
Reported by: | krishnafru | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.5 |
Component: | unfiled | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
I am facing a problem with html function. below is the code snippet:
<div id="div_container"> <input type="text" id="txt_name" value="sample text" style="width:250px;" /> </div>
Suppose later user changed the txt_name value from "sample text" to "changed text".
Now if i call
alert($('#div_container').html());
in IE the alert window shows
<input type="text" id="txt_name" value="changed text" style="width:250px;" />
but in FF
<input type="text" id="txt_name" value="sample text" style="width:250px;" />
Change History (1)
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version 0, edited 13 years ago
by
(next)
Note: See
TracTickets for help on using
tickets.