Bug Tracker

Modify

Ticket #11957 (closed bug: invalid)

Opened 12 months ago

Last modified 8 months ago

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:1 Changed 12 months ago by Manish Das <manishonrails001@…>

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

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.

comment:3 Changed 12 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Sounds like you want a forum, not a bug tracker. Try StackOverflow.

comment:4 Changed 8 months ago by willem.odendaal@…

Looks like a bug to me. I'm experiencing the same thing.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.