jlcruzAME
Member
- Joined
- Oct 18, 2012
- Messages
- 21
- Programming Experience
- 1-3
I found this solution while searching for a way to have a pop up message appear if a certain condition occurs on the ASP.NET site we are working on:
This is in the pages <head></head>
And this is in the VB.NET:
It works when I am running it on my machine from VS 2010. But when I put it on the web server and try to use the live site, the pop up doesn't work. Can anyone help me out or point me in the direction of a solution that works?
Thanks.
This is in the pages <head></head>
VB.NET:
<script type="text/javascript" language="javascript"> function callMyJSFunction() {
alert("You have not uploaded the required forms for this work order.");
}
</script>
And this is in the VB.NET:
VB.NET:
ClientScript.RegisterStartupScript(Me.GetType(), "id", "callMyJSFunction()", True)
It works when I am running it on my machine from VS 2010. But when I put it on the web server and try to use the live site, the pop up doesn't work. Can anyone help me out or point me in the direction of a solution that works?
Thanks.