Results 1 to 2 of 2

Thread: onclick with 2 subs

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Sudbury, Ontario, Canada
    Posts
    274
    How can I get an onclick event to trigger 2 different subs?
    Such as:
    Code:
    <INPUT type=RADIO name=optStatus value="TRANSFERRED" onclick="Sub1(), Sub2()">
    Thanks in advance,

  2. #2
    Addicted Member pardede's Avatar
    Join Date
    Jan 2000
    Posts
    232
    this may sound too simple, but:

    why not create a 'bridge' sub that calls the other two:


    Code:
    INPUT type=RADIO name=optStatus value="TRANSFERRED" onclick="SubA()">
    and somewhere else you have:

    Code:
    SubA(){
       Sub1()
       Sub2()
    }

Posting Permissions

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



Click Here to Expand Forum to Full Width