DOTAZNIK

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

102
p102.html / p102.zip
Odoslanie dotaznika e-mailom
2178b
NN 4.04

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<html> <head> <title> JavaScript DESTINATION - P102 </title> </head> <body> <script language="JavaScript"> <!-- astr=" "; var count = 0; var text = " "; function mailIt(form) { var data = document.ORDERS var userInfo = "" var astr=""; userInfo += "DOTAZNIK\n\n" userInfo += "Nazov stranky: " + document.title + "\n" userInfo += "Poslane z: " + document.location + "\n" userInfo += "Browser: "+ navigator.appName + navigator.appVersion +"\n\n" astr+="MENO: "+data.FIRST_NAME.value + "\n"; astr+="PRIEZVISKO: "+data.LAST_NAME.value + "\n"; astr+="EMAIL: "+data.ADDRESS1.value + "\n"; astr+="PRIPOMIENKY: "+data.COMMENTS.value + "\n"; form.mailBody.value = userInfo + astr; alert("Boli vyslane tieto udaje:\n\n"+ form.mailBody.value); return true } // --> </script> <h1 align="center">DOTAZNIK</h1> <div align="center"><center> <table border="0"> <tr> <td><form name="ORDERS"> <div align="center"><center><pre> <font color="#0000FF"> </font><font color="#008000">Meno <input type="text" size="19" name="FIRST_NAME"> Priezvisko</font><font color="#0000FF"> <input type="text" size="19" name="LAST_NAME"> </font><font color="#FF0000">e-mail <input type="text" size="19" name="ADDRESS1"> </font> <font color="#008000">Vase komentare</font><font color="#0000FF"> </font><textarea name="COMMENTS" rows="5" cols="40"></textarea></pre> </center></div> </form> <form action="mailto:unknown@unknown.sk" method="post" enctype="multipart/form-data" name="mailForm" onsubmit="return mailIt(this)"> <input type="hidden" name="mailBody" value><div align="center"><center><table border="0"> <tr> <td width="120">&nbsp;</td> <td><p align="center"><input type="submit" value="Zaslanie"></p> </td> <td width="100">&nbsp;</td> </tr> </table> </center></div> </form> </td> </tr> </table> </center> </body> </html>
[ Navrat / BACK ]