Hi Case is I want to prompt a message (Do you want to save changes?) if multiline text box default value is updated on .aspx page before submitting the page. I am using .text() to compare with .val(). It works fine in firefox. .text() shows the default value in firefox but in IE7 and 8 .text() shows updated value (like .val()).
if ($("#<%=txt1.ClientID%>").attr("value") === $("#<%=txt1.ClientID%>").text())
return(true);
return confirm('Do you wish to save these changes?');