| 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" /> |