Skip to main content

Bug Tracker

Side navigation

#10390 closed bug (invalid)

Opened September 30, 2011 03:02PM UTC

Closed November 29, 2011 08:16AM UTC

Last modified March 19, 2012 12:54PM UTC

Object does not support property or method getAttributeNode

Reported by: vruzin@bk.ru Owned by: vruzin@bk.ru
Priority: low Milestone: None
Component: core Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:
Description

SCRIPT438: Object does not support property or method "getAttributeNode"

jquery-1.6.4.js, Line 2479 Symbol 4

IE7

not work in IE6/IE7

In older versions of jQuery - it work

I see in with working with opacity and fadeIn/fadeOut

I dont know with other functions...

Attachments (0)
Change History (9)

Changed September 30, 2011 03:22PM UTC by rwaldron comment:1

owner: → vruzin@bk.ru
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/

Open the link and click to "Fork" (in the top menu) to get started.

Changed October 12, 2011 01:41PM UTC by sp00n comment:2

I have the same issue, both in IE9 emulating IE7 on Win7 x64 and in a virtual box IE7 on Windows XP.

The code block in question:

// IE6/7 do not support getting/setting some attributes with get/setAttribute
if ( !jQuery.support.getSetAttribute ) {
	
	// 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 undefined if nodeValue is empty string
			return ret && ret.nodeValue !== "" ?
				ret.nodeValue :
				undefined;
		},

It happens when I do a ele.fadeIn().fadeOut(). I've tried to change it to fadeTo(), fadeToggle() or animate({"opacity": 0}) to no avail, same error. A plain .hide() works.

Adding show(), stop(), delay() or whatnot inbetween doesn't help either, as doesn't using setTimeout in the callback function instead of delay().

I've temporarily fixed the issue by wrapping a

if (elem.innerHTML != undefined) {

around the get: method, however this seems rather clunky to me.

Changed October 27, 2011 08:13AM UTC by trac-o-bot comment:3

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed November 14, 2011 07:03PM UTC by greg@gmbconsulting.net comment:4

i am getting this as well. Working in IE9, but in developer tools, i set Doucument Mode to IE.Standard

I do a simple $('#chTagsAllSpan').fadeIn()

on page load and i get this error

Changed November 14, 2011 09:58PM UTC by rwaldron comment:5

#10788 is a duplicate of this ticket.

Changed November 14, 2011 09:58PM UTC by rwaldron comment:6

resolution: invalid
status: closedreopened

Changed November 14, 2011 10:00PM UTC by rwaldron comment:7

component: unfiledcore
priority: undecidedlow
status: reopenedpending

@greg

Please provide a complete reduced test case on jsFiddle - thanks. http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

Changed November 29, 2011 08:16AM UTC by trac-o-bot comment:8

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed March 19, 2012 12:54PM UTC by dyblast@gmail.com comment:9

I have the same issue.

In the following example

HTML:

		<div id="dialog" title="title">
			<object type="application/..."> 
			</object>
		</div>

JS:

$('#dialog').dialog()