How to call a javascript function on server side

N

Nuno Esculcas

Hello,

Is there any way to call a javascript function in the server side?
Like this

<html>
<head>
<script type="text/javascript">
function disp_alert()
{
alert("All ok!!")
}
</script>
</head>
....



And in the server:
function OnHandling()
{
... some code


call the disp_alert();

... more code
}

I need this to call a message box to warn the user for something or
even to confirm something... if this is not possible is there any web
control that looks like a messagebox, and it can do things like the
confirm("...") function in javascript?

Thanks

Nuno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,139
Messages
2,570,805
Members
47,352
Latest member
DianeKulik

Latest Threads

Top