faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

40 of 56 people (71%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

how to call two javascript function on same submit button on same event ?

Apr 8th, 2008 19:08
ha mo, Matt Chatterley, dipak basantani,


Set the 'onclick' property of your submit button to point to a function
e.g. MyFunction1(); then create the function so that it performs both
actions you require:
function MyFunction1()
{
  MyFunction2();
  MyFunction3();
}
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com