Hello friends........ ..
i have 3 dropdown in my project, in which 3 of them are linked with each other. ie.... i select a value from the 1st drop down and based on that value, the corresponding values will be displayed in the 2nd drop down and based on the value selected from the 2nd dropdown the corresponding value will be displayed in the 3rd dropdown. the problem is that in my page ,there are textboxes for entering name,date,phno etc........ when i select a value from the dropdown all the other values get blank....ie..in my page first there are textboxes for entering name,phno etcand after that there is the dropdown and when i select a value from dropdown, all the values in the textboxes get blank. so that i have first select the values in the drop down and then enter name, phno etc... in the code for drop down, i have used the code
document.form1. submit();
ie... every time i select a value from dropdown, i am submitting the form and because of this page submission my textboxes in the page gets blank...
if i am not using the page submission, then it wont work.
is there any way to solve this problem.
thanks...
i have 3 dropdown in my project, in which 3 of them are linked with each other. ie.... i select a value from the 1st drop down and based on that value, the corresponding values will be displayed in the 2nd drop down and based on the value selected from the 2nd dropdown the corresponding value will be displayed in the 3rd dropdown. the problem is that in my page ,there are textboxes for entering name,date,phno etc........ when i select a value from the dropdown all the other values get blank....ie..in my page first there are textboxes for entering name,phno etcand after that there is the dropdown and when i select a value from dropdown, all the values in the textboxes get blank. so that i have first select the values in the drop down and then enter name, phno etc... in the code for drop down, i have used the code
document.form1. submit();
ie... every time i select a value from dropdown, i am submitting the form and because of this page submission my textboxes in the page gets blank...
if i am not using the page submission, then it wont work.
is there any way to solve this problem.
thanks...
Comment