I've pushed my workaround (inline events) to the live link above, but I've got my original code at
http://hosting.gmodules.com/ig/gadgets/file/114281111391296844949/driving-directions-jquery.xml If anyone has any thoughts as to how I could use jQuery to successfully bind these events in syndication, it would be appreciated. Thanks very much. E On Jun 22, 3:44 pm, skeeJay <[email protected]> wrote: > This one is fun/frustrating. jQuery seems to be behaving differently > in syndication than on iGoogle. Worse, the problem is occurring in > Safari 4 and Chrome, but not Safari 3. > > http://hosting.gmodules.com/ig/gadgets/file/114281111391296844949/dri... > > Near the top of the script section, right after the comment "//event > bindings", I use jQuery (1.3.2) to bind two events to text inputs, a > blur function and a focus focus, which are responsible for the simple > tasks of switching the defaultValue in and out as "hint" text when the > field is blank. This works on iGoogle, but not in syndication on > Safari 4 or Chrome. > > Does anyone have thoughts on why this behavior is happening? Rolling > back to jQuewry 1.3.1 doesn't work. So far, the prettiest workaround > I've been able to find is to switch to simple onblur and onfocus > inline events on the <input>s. This, though—obviously—is decidedly un- > jQuery. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Gadgets-API?hl=en -~----------~----~----~----~------~----~------~--~---
