EDIT:
This error happens because in IE6 and IE7 these attributes are required for a textarea element.
Code:
$(document).ready(function () {
var ASP_txtNotes = 'ctl00_cphBody_txtNotes';
$("#" + ASP_txtNotes).removeAttr("cols"); // <-- Error here
}
Error:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Sat, 23 Oct 2010 03:04:34 UTC
Message: Could not set the cols property. Invalid property value. Enter a value greater than zero.
Line: 1493
Char: 6
Code: 0
URI: http://192.168.1.93/Castle%20and%20Cook%20Redub/JS/jquery-1.4.2.js
IE Version:
8 in compatibility mode
7 <-- this needs to work
6 <-- dont really care much about this version