[support] ONCLICK IN LIST BOX
    ram prasath 
    ramprasath_explicit at yahoo.co.in
       
    Mon Jan  4 09:55:09 UTC 2010
    
    
  
HI FRIENDS,
I am trying to call a javascript function through onclick of a button .I find it not working
pleas tel me how to cal a js function onclick .Here is my coding for button.
$form['keywords']['add'] = array (
     '#type' =>'button',
     '#value' => ADD,
     );
when I saw the view source its coming like a submit button.I don want my form to be submit on this button click.
<input type="submit" name="op" id="edit-nodewords-keywords-add" value="ADD"  class="form-submit" />
pleas tel me how to use as just a button for onclick not as submit
 button
Regards
Ram Prasath
      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100104/ad85baae/attachment.html 
    
    
More information about the support
mailing list