When submit button is clicked, i need to get a popup message with calculating the values of that particular form.
Can it be possible to call a javascript function through drupal_set_html_head() in submit function of the form
Can any one suggest me.
Thanks
A.K.Lalitha

Comments

WorldFallz’s picture

javascript is usually added via http://api.drupal.org/api/function/drupal_add_js or by adding it to your theme.