Hi,
I got error message 'strReason is undefined'. What I'm tring to to is read xml data using vbscript. If string strReason is not blank then use javascript to pop up the alert box.
Thank in advance
I got error message 'strReason is undefined'. What I'm tring to to is read xml data using vbscript. If string strReason is not blank then use javascript to pop up the alert box.
Thank in advance
Code:
<%
strReason = ReadXML (xmldoc, "//recordnotavailable")
%>
<script type="text/javascript">
<!--
if (strReason != "")
{
alert(strReason);
window.location("mv_ap_maint.asp");
}
-->
</script>