Jump to content

Can a previous doc be referenced?


zeldyzeldy

Recommended Posts

Hello,I have an html page set up that when the form is submittedthe cursor turns to a clock (wait). What I need to happenis to somehow let this cursor know that the page requestedwas loaded so that I can reset the clock back to a pointer.I was thinking that perhaps I can do this by passing in areference to the document into the requested page.Can this be done?Thank you.

Link to comment
Share on other sites

use this...assuming you are using a button to submit the form

<input type="submit" value="Submit" onclick="document.body.style.cursor='wait'" />

Then when the new page loads it will automatically change back to the default.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...