After Work
The best club in Chicago
for Chicago Singles is
Highlife Adventures!
Kyoto Sushi
in Chicago, on Lincoln Ave.
Moody's Pub
in Chicago, has great burgers
Skylark
in Chicago, on Halsted .. excellent beer selection!
|
Javascript
»
Controls
»
Coding
»
Writing to a web page dynamically
<script language="javascript">
<!--
function f_destroy()
{
document.frm_main.sle_count.value = 99 ;
document.write("This is test text for overwriting a form.
");
document.write("<a href=index.html>Back to top page</a>");
document.close();
}
// -->
</script>
<form name="frm_main">
Sample form:
<input type="button" value="Click here to destroy this form" name="cb_count" onclick="f_destroy()">
<input type="text" name="sle_count" value="0000">
</form>
|
|
|
|