
July 19th, 2001, 11:47 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,578
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
Pass Control Value To DLL Without Submit
<i><b>Originally posted by : Jeff M (jeff.mcguire@core.ca)</b></i><br />I am trying to pass the value in a textbox to my DLL with the following code to store the result in a client side variable "RetVal" without submitting the page. Here is the code:<br />-------------------------------------------------------------------------<br /><br /><script language="vbscript"><br />Private Sub inpSURNAME25322_4568_OnBlur()<br /><br />Dim RetVal,strCall<br /><br /><% Dim Val,objOFF003,ControlVal %><br /><% set objOFF003 = Server.CreateObject("OFF003.clsOFF003") %><br /><br /><% response.write "RetVal = " & chr(34) & objOFF003.Validate_inpSURNAME25322_4568("TestValue") & CHR(34) %><br /><br /><% set objOFF003 = Nothing %><br /><br />End Sub<br /></script><br /><br />-----------------------------------------------------------------------<br /><br />If I hard-code the parameter I pass to the DLL (ie "TestValue") it works.<br />I need to pass the value in the control instead without submitting.<br />Anyone have any thoughts...<br />
|