Hello! I am fairly new to .NET. I am doing some client side scripting with VB script to validate user input (OnBlur). My problem is if close the page the validation script runs. I know back in VB6 I used to use somthing like If Not ActiveControl Is Text1.... then put in my code . This would keep the code from running if the user wanted to exit. Anyway to do this in my scripting code. How do I stop the code from running if the user wants out. Suggestion appreciated.