[jQuery] Re: Jquery in Drupal

2008-11-12 Thread dfletcher
What you really need is the ID of the generated form element. Use the browser "view source" feature to see what you get for a form ID, then you can something like: drupal_add_js('$("#id-of-the-form").submit(function() { return false; });', 'inline'); Of course, change "id-of-the-form" to the act

[jQuery] feature request: optionally use createElementNS

2008-11-12 Thread dfletcher
I've been playing with writing XUL desktop apps. Currently building my own custom media center PC and a XUL app will be the core of it. So I thought it would be really cool if I could use JQuery to manipulate my hybrid XUL / SVG / HTML doc just as I do on the websites I maintain. I include jquer