What is the compatible JQuery line of code for IE7 and IE8?
Posted
by user144842
on Stack Overflow
See other posts from Stack Overflow
or by user144842
Published on 2010-05-28T20:22:20Z
Indexed on
2010/05/28
20:32 UTC
Read the original article
Hit count: 120
This line of code is working fine for Firefox
$("#<%=txt1.ClientID%>").text()
but not for IE8 and IE7. See the scenario below in order to understand what I really mean:- Scenario:-
- Loading .aspx page.
- populating text box with some data from database.
- Now user changes data in same text-box at client-side (means page not yet submitted) So here in firefox, the above line of javascript is showing me the actual data came from database, but IE7&8 showing me the changed data. But I want actual data.
So i need some compatible code for IE7 & IE8
I hope i explained it well what i need. Thanks in advance
© Stack Overflow or respective owner