Of Interest
Business Intelligence and Analytics
Oracle Training
|
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>
|
|
|
Get the latest Rocket99 news and tech tips via
|