Merc, You might want to look at the work being done on what's called the "AHAH framework" for Drupal. The guy working on that is doing a lot of thinking about how to correctly integrate jQuery and Drupal's FormAPI in a clean, safe, degradable fashion. The widget you describe is essentially a Drupal form or part of one.
Scott On 4/18/07, merc <[EMAIL PROTECTED]> wrote:
Hello everybody, I am in the middle of developing a karma module for Drupal (amazingly, it doesn't have one already and we need one for Free Software Magazine). While I know Drupa quite well, I know nothing about Javascript and JQuery. I am finding things a little difficult, to be honest. I know how Ajax works, but I am a little lost. Basically, I need to display a small voting SELECT for each published comment (-3 to +3). A logged in user should be able to pick a number - the second s/he changes the selected number (0 by default), the browser should send the query to the server (with node id and vote). The server should register the vote. The page at that point should display the registered node where the SELECT was - or a short error message. Believe it or not, I tried to do this and failed miserably. I am looking for somebody out there who would be willing to give me a hand with the JQuery side of the module. I looked at: http://docs.jquery.com/Ajax But I just haven't understood what I should do exactly. Now... I was wondering if there were a good soul out there willing to help me with this. All of the code will be released under the GPL. I am happy to pay $100, to say "thank you". Please get in touch with me if you want to lend us a hand - [EMAIL PROTECTED] Thanks a lot for your help! Merc. -- View this message in context: http://www.nabble.com/Drupal-and-JQuery-tf3601206s15494.html#a10059393 Sent from the JQuery mailing list archive at Nabble.com.
-- .|.. Scott Trudeau scott.trudeau AT gmail DOT com http://sstrudeau.com/ AIM: sodthestreets