Hello,
I've created an ActiveX dll in VB and all I want to call the dll page with the value passed from the event button onclick(). I have this code but It give a headeache because I read all the thread from this forum and I don't see the error. Any advice would be great. Thank You.
Code:
<html>
<head>
<%@ LANGUAGE javascript>
<%
function varDial(textstring)
{
var outpostdb = Server.CreateObject("Tapi.Clsdial"
outpostdb.cmdStartSession(textstring)
set outpostdb = nothing
}
%>
</script>
</head>
<body>
<form align="center">
<p align="center">
<input name="text1" type="text" id="text1">
<input name="print" type="button" value="DIAL" onClick="varDial(text1.value)">
</p>
</form>
</body>
</html>
I've created an ActiveX dll in VB and all I want to call the dll page with the value passed from the event button onclick(). I have this code but It give a headeache because I read all the thread from this forum and I don't see the error. Any advice would be great. Thank You.
Code:
<html>
<head>
<%@ LANGUAGE javascript>
<%
function varDial(textstring)
{
var outpostdb = Server.CreateObject("Tapi.Clsdial"
outpostdb.cmdStartSession(textstring)
set outpostdb = nothing
}
%>
</script>
</head>
<body>
<form align="center">
<p align="center">
<input name="text1" type="text" id="text1">
<input name="print" type="button" value="DIAL" onClick="varDial(text1.value)">
</p>
</form>
</body>
</html>