Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle application server (pl/sql cartridge)

Re: Oracle application server (pl/sql cartridge)

From: <charlie.elgholm_at_afs.skandia.se>
Date: Mon, 25 Jan 1999 14:17:33 GMT
Message-ID: <78hudk$jtj$1@nnrp1.dejanews.com>


In article <784smj$bkn$1_at_nnrp1.dejanews.com>,   ajayanand_at_my-dejanews.com wrote:

> Hi,
>
> Please give me the code.
>
> Thanks

Well yeah sure.. Here is an example:
<html>
<body>
<script language="JavaScript">

function validateForm(){

	// Here is were your validation code goes.
	alert("You wrote: "+document.frm1.userName.value+"!");
	// If I like this, I'll return true and the form will submit.
	// return true;
	// But I didn't so I'll return false and the form wont submit!
	return false;

}
</script>

<form name="frm1" action="someaction" method="post" onSubmit="return
validateForm();">
<input type="text" name="userName" size=20>
<input type="submit" value=" Test ">
<form>

</body>
</html>

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Mon Jan 25 1999 - 08:17:33 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US