By aklalita on
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
_
javascript is usually added via http://api.drupal.org/api/function/drupal_add_js or by adding it to your theme.