Jump to content

Two events on one click


Guest imi

Recommended Posts

hello

 

i am facing this issue:

 

On the web I have two buttons - ORDER and REFRESH.

Looks like this:

onmouseover="status=' ';return true;" onmouseout="status=' ';">

 Order 

 

onmouseover="status=' ';return true;" onmouseout="status=' ';">

 Refresh 

 

 

 

I need to change the functionality of the ORDER button. It should trigger the REFRESH (generating the SC_REFRESH event) functionality right before the SC_ORDER event is generated. It means I need to trigger two events with one onlick on the ORDER button - first REFRESH and then ORDER. With 2 second time break between the two events.

The functionality of REFRESH will not change.

Thanx for any help in advance.

Edited by imi
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...