On Sat, 16 Dec 2006 11:27:37 -0200 "José de Paula Eufrásio Júnior" <[EMAIL PROTECTED]> wrote:
Hi. I know that <a href="javascript:;" onclick="form_name.submit()">... doesn't work in IE, but works in Firefox and Opera. If it's your case, use <a href="#" onclick="form_name.submit()">... - it works. If not, please post the details about your code. Best regards, Alexey. > So, I guess everybody comes to that someday... > > I did some nice "onclick" and "onchange" and "onsomething" javascript > functions last night. They work great on Mozilla. IE don't even > returns an error. > > I started trying to figure out something on the code. Kid converts all > 'onclick" o "ONCLICK", but on a dummy html file, IE seems to be case > insensitive (as I said, I started testing everything). > One thing that didn't work was that in IE, if I put the javascript > function inside quotes "", it doesn't work (at least, the "alert" > function don't). > But Kid doesn't allow me to make a template with > onclick=function(param), it complains about malformed (x)html (and it > is, indeed). > > I searched the google oracle and seems that there's a lot more about > this event business between the browsers, mainly about using > javascript to setup event handlers instead of using the "onclick", > "onstuff". So, if anyone can point me some directions, I would be > grateful. > > thanks. > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

