Run Multiple Functions on Button Click...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • su817200
    New Member
    • Apr 2010
    • 13

    #1

    Run Multiple Functions on Button Click...

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

    <input type="button" value="Update"
    name="B1" onclick="ReadFi leToString() timedRefresh(15 00)"></p>

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

    Rgds,
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    you forgot the semi-colon.

    the best way whatsoever is using event listeners instead of inline JavaScript, but IE’s support for that is …

    Comment

    Working...