[jQuery] Why doesn't work in IE ?

2007-10-02 Thread Owca
This line crashes all my jQuery scripts in IE only: $("[EMAIL PROTECTED]").var = state; Part of my code: var state = $("[EMAIL PROTECTED]:checked").val(); $("[EMAIL PROTECTED]").var = state; I want to set value of hidden input named "breakfast". Please explain me why.

[jQuery] Is there any better way to do that?

2007-09-21 Thread Owca
It's my first script using jQuery. $(document).ready(function(){ $("a").filter('.showPrices').toggle(function(){ $("."+this.id).slideDown('slow'); $("."+this.id).addClass("singleOffer"); },function(){ $("."+this.id).slideUp('slow'); }); }); show/hide prices show/h