Re: Can I use a server function and a client funtion in a button click Event?

From: dlbjr (
Date: 05/27/04

Date: Thu, 27 May 2004 16:25:06 -0500

Save this as an htm and try it

<title>Test Page</title>
<script type="text/javascript" language="JavaScript">
function hitserverfunction() {'wait';
 var XMLHTTP = new ActiveXObject( "Microsoft.XMLHTTP" );
 var sURL = "" "POST", sURL, false );
 result.innerHTML = XMLHTTP.responseText;'auto';
<input onclick="hitserverfunction();" id="Button1" type="button" value="Process" name="Button1">
<div id="result"></div>

'from dlbjr

'Unambit from meager knowledge of inane others,engender uncharted sagacity.

Relevant Pages