Modify ↓
Ticket #11957 (closed bug: invalid)
SCRIPT3: Member not found. ( jquery.js, line 2765 character 4 :Error ) For IE7 Document Mode
| Reported by: | manishonrails001@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.7.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I ran into above error for the below jQuery code:
// Use this for any attribute in IE6/7
// This fixes almost every IE6/7 issue
nodeHook = jQuery.valHooks.button = {
get: function( elem, name ) {
var ret;
ret = elem.getAttributeNode( name );
return ret && ( fixSpecified[ name ] ? ret.nodeValue !== "" : ret.specified ) ?
ret.nodeValue :
undefined;
},
set: function( elem, value, name ) {
// Set the existing or create a new attribute node
var ret = elem.getAttributeNode( name );
if ( !ret ) {
ret = document.createAttribute( name );
elem.setAttributeNode( ret );
}
return ( ret.nodeValue = value + "" );
}
};
How can I resolve this error and make my app working for IE7 or lt IE7. I would really appreciate for emailing me the fix.
Thank You!
Change History
comment:2 Changed 12 months ago by Manish Das <manishonrails001@…>
P.S. My email address is manishonrails001[at]gmail[dot]com. Thanks for looking into this problem.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

P.S. My email address is manishonrails001@…. Thank you for looking at this problem.