Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
09-06-2012, 04:57 PM #1
- Join Date
- Sep 2012
- Thanked 0 Times in 0 Posts
I have an asp.net form...
I also have a js message box which fires when a user makes a certain selection
When this message box fires the webpage automatically goes to the top of the page
If the user is towards the end of the form and the js box fires - this brings them right back to the top of the page...
Here's my code - is there a way to stop the webpage from bringing the user back to the top when the message box fires?
Hope that makes sense, here's my code...
Dim message As String = "You have the wrong form"
Dim sb As New System.Text.StringBuilder()
ClientScript.RegisterClientScriptBlock(Me.GetType(), "alert", sb.ToString())
09-06-2012, 05:18 PM #2
- Join Date
- Apr 2012
- St. Louis, MO, USA
- Thanked 101 Times in 101 Posts
If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".