Hi all. I am new to this forum and Javascript also. Let me explain my problem now.
If a visitor clicks my web page submit button(ex., [url]www.example.com/yyy.html)[/url], i need to get a email without the visitor kjnowing that im getting an email. and also he will need to go to another page like example.com/xxx.html. i don’t know whether it is possible in Javascript. and i don’t know how to proceed
In the iframe tag [B]onLoad[/B] will redirect the main page to thanx.html, that is when the form is submitted the send mail script will be loaded in iframe and onLoad it will redirect. style is set to make the visibilty hidden.
If you have made the send mail script your self then it will be very easy to redirect the page to thanx page after sending the email by making some changes to the script, then all this will not be required.
@BigMoosieSep 01.2005 — #[B]everything is possible in Javascript[/B].[/QUOTE]
JavaScript won't make me coffee.
Everything you posted is completely redundant. All you need to do is post the form to the second page which will have a server side script on it that sends the email. No iframes and JavaScript simply cannot enhance these requirements.