![]() |
|
|
+ Search |
![]()
|
Dec 4th, 2001 23:51
Paul Lovett,
***Here I am populating a ASP variable with a boolean value
if boolean = false I want to pop up a alert box in the browser to
advise the user.
I simply end the ASP tag and insert my Javascript code. I only need to
show a alert box but I could easily call a JavaScript function the same
way.
ASP CODE>........
'---------------------------------------------------------------------
' Call method updateCampaignHTMLText() '
insertSuccess = myObj.updateCampaignHTMLText()
if insertSuccess = false then
%>
<script language = JavaScript>
alert('Insert Failed');
</script>
<%
End if
'----------------------------------------------------------------------
CONTINUE ASP CODE>.......
© 1999-2004 Synop Pty Ltd