Anyone knows the method/codes to disable the clicked button after first click by using .aspx-- to prevent people to click many time when waiting for the server response.
I tried to do this by adding a java script for the button. But, useless..
I have a web form with a button and a number of text fields with validators. When users on dial up connections use the form and click the button the progress bar in Internet Explorer will slowly works it way over and the page status will say done but nothing ever happens. If the user clicks the button a second time all is well. The page works fine on a high speed connection.
I have a page that updates/deletes user records. I made the mistake of thinking that because admin's use it, that I didn't have to make it stupid proof.How do i enable/disable submit buttons based on a radio button selection? or what would be the best way of prompting a "are you really sure you want to delete this record?"I'm not finding much info with being able to do this in vbscript.
I have a ASP Page that allow the users to Download a File @ the Click of the button the File Download Dialog Box will pop up on the Screan ,on the download dialog Box are 4 buttons namely Open ,Save,Cancel and More Info ,How do I disable any Button on the Dialog box let say the Save button?
This isnt really a problem more like extra secutiry. I am creating a wesite for a user who isnt completely computer literate and i want to either disable him from having access to the IE Back button as if he goes back on one of the pages and then re-clicks on the button on that page it will re-submit data that he shouldnt be!
I'm having a problem disabling a back button. Normally what I would do is just throw a history.forward() javascript on the preceding page and be done with it. My problem is that the preceding page can either lead to an error or a confirmation page. If the user produces an error and are taken to the error page, they'll need to be able to click back to correct their mistake. If everything is correct and are taken to the confirmation page, then they shouldn't be allowed to get back.
Has anyone come across this? I've tried setting a session variable when everything is correct but clicking on Back makes the value of the session variable what it was when you originally got to the page.
My asp application has 2 lisboxes. The 1st lists lists school department and 2 buttons (teschers button and students button to select either teachers or students from selected school depatment, which populates the 2nd listbox.
The slectall button under 2nd lisbox is used to select all items listed. how do I disable selectall button if teachers buttons is clicked, and enabled if students button is clicked.
i have a text area on a form that users fill in. is it possible to prevent the user from submitting the form when there is no data entered in the text area. as soon as the user enters data in the text area then the form should be able to submit.
I have a website that was initially generated by a program called ASP Runner Pro. It's really nice, has my access database online (I run it on a godaddy.com server) and I love the layout. However, I really want to make it so that when I add a new DOCTOR to my database of doctors, an email is sent to the doctor telling them that they have been added to the database. I plan on editing the website files manually from Dreamweaver. I don't know how to set up my email smtp server in ASP or anything like that though. I've searched the forms desperately, but all instructions assume that I already have setup my email smtp (which will be google) in my ASP, which I don't know how to do.
When I click "save" after adding a new record (which contains, among other fields, the person's email address), I want an email to automatically be sent to that person (at the email that is in the field of that record). How can I do this?
I have a "Add more files" button on my asp page. I want to make it that when user click on the button, it will create a file field under the existing one. How can I do that.
I have a form that assigns to 2 variables. Now I want to have a button that if clicked sends a different asp page the 2 variables and runs the page. I think I need the new asp page to open in its own window as I want the original form to stay open in the background and the new form generates an Excel file to download rather than opening in the browser.
Could I get an example, preferably in vbscript, of how to do this please? The only sample code I've found so far uses a hyperlink instead of a button and doesn't pass any arguements to the new page.
when my asp page displayed in browser..and suppose i click on back button of browser then it should not go to back page. in this case the same page should be always display. how can we do this?
How can I disable back button of a browser in other words not allow the user to go back to the page from where they have come to this page when they click back button.
I know you can not disable the browser back button but I have a script that grades online tests and when they click the, Grade test button, it works great. But if you click the back button, you can go back to the page and change the answers to the questions. So like this, if one failed the test they could simply click the back browser button and redo the test.
What I need is away to not disable the back button but maybe if they click the back button to take them back to the registration page to register for the test again. I have tried a few lines of code with "no-cache" and it would show expired but I prefer a redirection to the registration page if posible. how this could be done when clicking on the browser back button?
I was wondering, is it possible to disable the back button in internet explorer.
Our Website is hosting a Siebel website, and the problem is that Siebel has problems with the use of the back button in internet explorer. I can't make a customized internet explorer because the site must be accesible anywere.
I am trying to create a bookstore WebApplication using c#. I can display the books (obtained from sql server) on a table in a WebForm. At the end of each row, I would like to add "add to cart" button. Therefore, I use
Button bt_add = new Button(); bt_add.Text = "Add to cart";
and put it in a cell which is later placed in each table row. The Buttons display fine on the WebForm. However, I don't know how to add the Button_Click function for each of the Button I created since I don't know the total number of books in advance. Can anyone help me get "add to cart" button to work?
Note: I try clicking on each Button, the WebForm page loads back to its original stage (Page_Load function) and my search result is gone.
in our asp, in order to prevent data disppearing problem in form fields,we use session variable to display the field values if a customer click "back" button on the page2.asp in the browser,(the session variables Session(aQuoteName(iPerson)&"TripCost") is set up in the page2.asp) i.e. then in the page1.asp, we use:
to display the tripcost. This works very well in the past all the time. But today, when I do the similar programming, whenever I click "back" button on page2.asp, the data on the page1.asp all disappeared and I have to click "refresh" button on page1.asp in order to display all the session variables.
What's going on, does this have to have something to do with window security patches, I didn't have anything changed in the program or IIS configuration. I also test the production version, same thing happened which it never happend before???
I want to understand the difference between submit button and regular button: <input type="submit"> and <input type="button">. My understanding is that submit button will send the entire HTML form to the web server, but regular button won't.
I have a problem that needs to pass HTML elements data back and forth in several ASP pages. I am using regular button to do that. But what's the approaches?
I am trying to push the user to a particular page based on a click of a button.I cant seem to get the syntax correct. This is what I am using right now.
<INPUT TYPE="button" VALUE="Return to Entry Form" onClick=href="/LongDistance_Tracking/Longdistance.asp">