Hello everyone,
Can anyone help me on how to call the results of a computation in a text box. For example i want to do
<% function doMycomputation()
Compute =5*6
end function
%>
<FORM action="asptutorial.asp" method=POST id=form1 name=form1>
<br> Results <INPUT type="text" id=TxtHf name=TxtHf value=<%=doMycomputation%>> <br>
<INPUT type="submit" value=" Compute " id=submit1 name=submit1>
</form>
I don't know why it is not working. But i am suspecting when the server compute the function once it is over, it is not possible to call it again. Any help ?
Thank you very much
Can anyone help me on how to call the results of a computation in a text box. For example i want to do
<% function doMycomputation()
Compute =5*6
end function
%>
<FORM action="asptutorial.asp" method=POST id=form1 name=form1>
<br> Results <INPUT type="text" id=TxtHf name=TxtHf value=<%=doMycomputation%>> <br>
<INPUT type="submit" value=" Compute " id=submit1 name=submit1>
</form>
I don't know why it is not working. But i am suspecting when the server compute the function once it is over, it is not possible to call it again. Any help ?
Thank you very much