Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
Yea I'm kinda figuring it out trying another approch that I found here http://www.quirksmode.org/dom/w3c_css.html On 11/19/09 3:12 PM, "Charlie Griefer" wrote: This may just be another example of IE sucking. I get an error on IE 6, "unexpected call to method or property access". Googling tha

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Charlie Griefer
This may just be another example of IE sucking. I get an error on IE 6, "unexpected call to method or property access". Googling that error message (and adding 'style' to the search) suggests that manipulating the style attribute dynamically on IE is somewhat... problematic :\ On Thu, Nov 19, 20

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
Yes In the function that this bit of code resides On 11/19/09 2:43 PM, "Charlie Griefer" wrote: leftOffset is a variable you're defining somewhere? On Thu, Nov 19, 2009 at 11:39 AM, Atkinson, Sarah wrote: IE 7 haven't tried any others. And it doesn't work it doesn't text and it cause

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Charlie Griefer
leftOffset is a variable you're defining somewhere? On Thu, Nov 19, 2009 at 11:39 AM, Atkinson, Sarah < sarah.atkin...@cookmedical.com> wrote: > > IE 7 haven’t tried any others. And it doesn’t work it doesn’t text and it > cause another function that hides and shows a div to not work as well. Th

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
IE 7 haven't tried any others. And it doesn't work it doesn't text and it cause another function that hides and shows a div to not work as well. The only fire bug error I get is "Reload to activate window console" although IE has a message saying error on page On 11/19/09 2:35 PM, "Charlie Gr

Re: [jQuery] Trouble with IE breaking script

2009-11-19 Thread Charlie Griefer
What version of IE? Define "break"? On Thu, Nov 19, 2009 at 11:29 AM, Atkinson, Sarah < sarah.atkin...@cookmedical.com> wrote: > I’m having trouble with IE > This code seems to break in IE > > var cssString= "label.error{left:"+leftOffset+"px;}";$('head > style').text(cssString); >

[jQuery] Trouble with IE breaking script

2009-11-19 Thread Atkinson, Sarah
I'm having trouble with IE This code seems to break in IE var cssString= "label.error{left:"+leftOffset+"px;}";$('head style').text(cssString);