Results 1 to 2 of 2

Thread: calling more than one function with onSubmit command in form tag

  1. #1
    Join Date
    Aug 2006
    Location
    Mumbai, India
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default calling more than one function with onSubmit command in form tag

    Can we call more than 2 functions with onSubmit command in form tag if yes then what will be the code.pls help me out on this , as it is very urgent.

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Yes it is possible.

    HTML Code:
    <form ...................... onSubmit="function1();function2()">
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •