Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle application server (pl/sql cartridge)
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;
<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
![]() |
![]() |