IE9 Alert Box Not Showing Data, Works in IE8?
Why does this Alert box work perfectly using IE8, but shows nothing using IE9?
Also, data.length never shows anything in Alert box!
$("[id$=txtData]").blur(function(event)
{
var data = $.trim($(this).closest("tr").find("[id$=txtData]").text());
alert(data);
});
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="900px">
<
Columns
>
<
asp
:
TemplateField
HeaderText
="Id">
<
ItemTemplate
>
<asp:TextBox ID="txtData" runat="server" Text="" style=" height: 44px; width: 100px"></asp:TextBox>
</
ItemTemplate
>
</
asp
:
TemplateField
>
</
Columns
>
</
asp
:
GridView
>