Hi,
I am using XMLHTTPREQUEST to get make server calls to get data for the typical car (year,make,model) dropdwon for a find car listing website.
Depending on the year selected i make a server call using xmlhttprequest for getting the car make list and when the user select the make i make a server call to get a model list …
( i am using xmlhttprequest for avoiding the problem of complete page refresh)
Now the prob……
This code works fine in all the browser but Opera …
When I come to the page I select the year ..it make the server call and i get the make list …..but when i try to make the server call for getting the model list for the make selected ..i am not getting the make value form the make drop down …
I am using html:select html:options for all the 3 drop downs …..
i am calling a dropdown on_change method for the server call passing “this” parameter to access the dropdown value
on_change(this);
on_change(lb){
var model = lb.value;
server call using model;
}
same method is use for the year dropdown which works fine …..but when i make a selection in the make dropdown ….lb.value is blank ….:-(
I hope i have explain the suitation ……