Bug Tracker

Opened 8 years ago

Closed 8 years ago

#9238 closed bug (invalid)

IE9 issue for using .update function.

Reported by: vijayaneraye Owned by:
Priority: low Milestone: 1.next
Component: misc Version: 1.6
Keywords: Cc:
Blocked by: Blocking:

Description

Hi All,

I am gettinn following error message for .update method

Unable to get value of the property 'update': object is null or undefined using IE9.it works fine for all other browser including IE7/IE8 and FF

my code is to change the span text the line $$('#cart-toggle span')[0].update('Show Cart'); is giving me error in follwoing code

show: function() {

$('cart-options').removeClassName('hidden').addClassName('show'); $$('#cart-toggle span')[0].update('Show Cart'); $('cart-hdr').show(); $('cart-wrapper').show(); Cookie.set("portfolioCartDisplay", "show");

}

Change History (2)

comment:1 in reply to:  description Changed 8 years ago by vijayaneraye

Replying to vijayaneraye:

Here is my div

Here is div defined.

<ul class="tabs visibility-toggle">

<li class="tab"><a href="#" id="cart-toggle"><span>&nbsp;Hide Cart</span></a></li>

</ul>

please help me.

Hi All,

I am gettinn following error message for .update method

Unable to get value of the property 'update': object is null or undefined using IE9.it works fine for all other browser including IE7/IE8 and FF

my code is to change the span text the line $$('#cart-toggle span')[0].update('Show Cart'); is giving me error in follwoing code

show: function() {

$('cart-options').removeClassName('hidden').addClassName('show'); $$('#cart-toggle span')[0].update('Show Cart'); $('cart-hdr').show(); $('cart-wrapper').show(); Cookie.set("portfolioCartDisplay", "show");

}

comment:2 Changed 8 years ago by timmywil

Component: unfiledmisc
Priority: undecidedlow
Resolution: invalid
Status: newclosed

update is not a method in jQuery core. Please notify the plugin author for help with the issue.

Note: See TracTickets for help on using tickets.