Lets say I have some java script on my ASP page.Is there a way that I can make this java code run from a VB command button?VB Code:
<input type="submit" name="BtnDelete" value="Delete" id="BtnDelete" onclick="return confirm('Are you sure you want to delete?');" />
I would also need to know if the user clicked the ok button, or the cancel button.
If so, what would be the code that would do that?
Thanks
