Re: [jQuery] toLowerCase method works in Google Chrome but not IE

2009-12-24 Thread brian
The first thing I would do is inspect cookieMood. Obviously, it exists, or the code wouldn't reach that line. But, perhaps it isn't a string, as you expect. On Wed, Dec 23, 2009 at 9:50 PM, ArnieML wrote: > Hi, > > Code snippet is as follows: > > function setStartMood(cookiemood) { > >          

[jQuery] toLowerCase method works in Google Chrome but not IE

2009-12-23 Thread ArnieML
Hi, Code snippet is as follows: function setStartMood(cookiemood) { if(cookiemood) { $("#moodlist").val(cookiemood); $("#plsselectmood").css( {'visibility': 'hidden'} ); mood = cookiemood.toLowerCase();