Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using JavaScript to write to a DIV from thread216-1394997

Status
Not open for further replies.

Matamoros

Technical User
Aug 8, 2012
1
PL
The thread: thread216-1394997 gave me a script I needed - well, part of it. I combined it with another script I had written to force users to check a checkbox before submitting a form.

I was using an alert, but alerts are so annoying, and they force the user to click to make it go away.
The DIV method is so much neater, and less annoying, not only that, the user does not need to click to make it go away.

For my purposes they only need to check a checkbox prior to submitting a form.

Here is the script:
 
Something I wrote many moons ago.



If you are using Chrome or Firefox, yes I did have some javascript files injected with a hijack script, but it was only there for two days and was about two months ago.






Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top