[jQuery] Re: attr difference in Firefox and IE7

2008-05-20 Thread Ariel Flesler
No, no API changes, .attr() is still .attr(). But it has been modified and a lot of existing issues were fixed. -- Ariel Flesler http://flesler.blogspot.com On 20 mayo, 18:10, David McFarland <[EMAIL PROTECTED]> wrote: > On May 20, 2008, at 12:47 PM, Ariel Flesler wrote: > > > > > So.. Have you

[jQuery] Re: attr difference in Firefox and IE7

2008-05-20 Thread David McFarland
On May 20, 2008, at 12:47 PM, Ariel Flesler wrote: So.. Have you tried using jQuery 1.2.4 ? jQuery.attr works completely different now. It does? Do you mean there are API changes? thanks --dave

[jQuery] Re: attr difference in Firefox and IE7

2008-05-20 Thread Ariel Flesler
So.. Have you tried using jQuery 1.2.4 ? jQuery.attr works completely different now. -- Ariel Flesler http://flesler.blogspot.com On 20 mayo, 08:35, Sid <[EMAIL PROTECTED]> wrote: > Karl, > > Thanks a lot :-) > > Works perfectly well. But IE still shows an error notification in the > status bar.

[jQuery] Re: attr difference in Firefox and IE7

2008-05-20 Thread hans
On May 20, 1:35 pm, Sid <[EMAIL PROTECTED]> wrote: > Karl, > > Thanks a lot :-) > > Works perfectly well. But IE still shows an error notification in the > status bar. I'm just afraid it might come in between as I add more > features. Any ideas? > > Regards The "original blue" anchor has a mous

[jQuery] Re: attr difference in Firefox and IE7

2008-05-20 Thread Karl Swedberg
Hi Sid, Unfortunately, I'm not sure where that error message is coming from. I have no experience with the LiveQuery plugin, so I can't say if it's from that. Are you running other JavaScript code that might be causing the error? $('#preview').livequery(function() { $('#preview'

[jQuery] Re: attr difference in Firefox and IE7

2008-05-20 Thread Sid
Karl, Thanks a lot :-) Works perfectly well. But IE still shows an error notification in the status bar. I'm just afraid it might come in between as I add more features. Any ideas? Regards

[jQuery] Re: attr difference in Firefox and IE7

2008-05-20 Thread Karl Swedberg
Hi Sid, yeah, IE error messages are rarely helpful. You might want to try using the .css() method for width and height, rather than the .attr() method: $('#preview').livequery(function() { $('#preview') .attr('src',previewImage) .css({width: '302px',

[jQuery] Re: attr difference in Firefox and IE7

2008-05-20 Thread Jon Reed
I would upgrade to the latest version of jQuery, there's a few attribute bugfixes that could help J On May 20, 6:01 am, Sid <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using the .attr() to set attributes of an img tag. > > This works in Firefox 2.0.0.14 but not in Internet Explorer 7. > > The offen