cmptrnerd9
May 30th, 2007, 12:39 PM
I have a textbox on an asp.net. I am trying to assign a value to it via vbscript and I am getting the follow attached error.
Here is the VBScript code:
<script language=VBScript>
dim retval
retval = window.showModalDialog ("../../../custserv/WebPes/Misc/Launch.aspx?url=HomeCopyType.aspx",window,"dialogHeight: 270px; dialogWidth: 390px; dialogTop: px; dialogLeft: px; edge: Raised; center: Yes; help: No; resizable: No; status: No;")
if retval <> "" and not isnull(retval) then
Form1.PolicyNav1_txtQuoteType.value = retval
end if
</script>
Thanks,
Michael
Here is the VBScript code:
<script language=VBScript>
dim retval
retval = window.showModalDialog ("../../../custserv/WebPes/Misc/Launch.aspx?url=HomeCopyType.aspx",window,"dialogHeight: 270px; dialogWidth: 390px; dialogTop: px; dialogLeft: px; edge: Raised; center: Yes; help: No; resizable: No; status: No;")
if retval <> "" and not isnull(retval) then
Form1.PolicyNav1_txtQuoteType.value = retval
end if
</script>
Thanks,
Michael