onchange alert message

Results 1 to 2 of 2

Thread: onchange alert message

  1. #1
    Join Date
    Dec 1969

    Default onchange alert message

    Hello friends!<BR><BR>In my ASP page, I do have a dropdown box which list all the countries. Below that there are alot of textboxes and a submit button.<BR><BR>Whne the user selects a country, it will refresh the page and display all the details in the below textboxes.<BR><BR>What I need is, when the user selects any country I need to display a message saying "If you have entered data please click on the submit button or else data will be lost." This should appear only once. If the user tries to select again it shouldn&#039;t show any message. please help.

  2. #2
    Join Date
    Dec 1969

    Default Better would be to fix your code

    There&#039;s no reason that the data has to be lost.<BR><BR>I don&#039;t know how you are refreshing the page, but there&#039;s no reason that your refresh couldn&#039;t preserve the data and make the alert unnecessary.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts