[jQuery] Re: Variables

2009-12-11 Thread Jojje
Noticed that whn i do rhis synchronized it works? But that locks up the browser while the request is sent. Maybe that helps to solve the problem? I don´t understand why when i use asynchronized request, the first time the variable is undefined and then when i type for instance Joe i get back Jo

[jQuery] Re: Variables in IE ahhh!

2009-06-26 Thread Liam Byrne
You're checking the css attribute : height $container.find('div.listContainer ul').css('height'); If that's set to auto, then that's what will be returned. What you want is the ACTUAL height. $container.find('div.listContainer ul').height(); L simon wrote: I have this hover function and

[jQuery] Re: Variables in IE ahhh!

2009-06-26 Thread simon
thanks for tthe reply for got to say, before this I was finding the height out of my UL by going through all th eli heights then adding it to the ul // find the height of each li and add it to the total $listItems.each(function (i){ ulHeight += parseInt($(this).css ('height'));}); // once total

[jQuery] Re: Variables in IE ahhh!

2009-06-26 Thread simon
Thanks did that and seems to be fine many thanks Si On Jun 26, 2:38 pm, simon si...@uvfx.tv wrote: thanks for tthe reply for got to say, before this I was finding the height out of my UL by going through all th eli heights then adding it to the ul // find the height of each li and add it