Hi all,
I am having trouble trying to figure out this prob..
I am trying to write a function that will submit one form element? I am trying to pass that value to a conditional statement. I do not want the entire form to submit its self. I want to keep that information on the same page. See the code below..it my better explain my sit.
Thanks
CalvinClick
<html>
<title>Untitled</title>
<script>
function geval() {
//--- i dont know how to write a function that will submit the form element 'nu'
}
</script>
</head>
<body>
<form name=fu>
<input name="nu" onchange="getval()">
<!-- user will input a numeric value -->
</form
<!-- after form is submitted show value -->
<cfoutput>
<cfif isdefined ("form.nu"
>
the value of the form is #form.nu#
</cfif>
</cfoutput>
</body>
</html>
I am having trouble trying to figure out this prob..
I am trying to write a function that will submit one form element? I am trying to pass that value to a conditional statement. I do not want the entire form to submit its self. I want to keep that information on the same page. See the code below..it my better explain my sit.
Thanks
CalvinClick
<html>
<title>Untitled</title>
<script>
function geval() {
//--- i dont know how to write a function that will submit the form element 'nu'
}
</script>
</head>
<body>
<form name=fu>
<input name="nu" onchange="getval()">
<!-- user will input a numeric value -->
</form
<!-- after form is submitted show value -->
<cfoutput>
<cfif isdefined ("form.nu"

the value of the form is #form.nu#
</cfif>
</cfoutput>
</body>
</html>