I already search on the forum about this, but there's no approach to the solution that i'm looking for, so let me show what i want.
I got this 2 functions than i can use from every page everytime i want:
Public Sub jsAlert(ByVal Message As String)
Response.Write("<script language='javascript'>alert('" + Message + "');</script>")
End Sub
Public Sub jsAlertAndRedirect(ByVal Message As String, ByVal url As String)
Response.Write("<script language='javascript'>alert('" + Message + "');document.location.href='" + url + "'; </script>")
End Sub
So i have been trying a lot of methods to get a similar function for the confirm JS like this one:
Public Function jsConfirm(ByVal Message As String) As String
Dim strScript As String
strS ...
Go to the complete details ...