By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,962 Members | 639 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,962 IT Pros & Developers. It's quick & easy.

Run Multiple Functions on Button Click...

P: 13
Dear Friend,
I would like to run multiple functions on Button Click eg...

<input type="button" value="Update"
name="B1" onclick="ReadFileToString() timedRefresh(1500)"></p>

It is giving error in the above line, what is the best way to achieve the above line using javascript...

Jul 9 '10 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 8,639
you forgot the semi-colon.

the best way whatsoever is using event listeners instead of inline JavaScript, but IEs support for that is
Jul 9 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.