Displaying 2 results from an estimated 2 matches for "setmak".
Did you mean:
setmask
2006 Feb 07
1
Help needed with conflicting EventObserver
...ax.Updater and I think that an EventObserver is causing a
conflict.
Here''s what I''m trying to do. I''m using this page as a create and
edit page for a car database. If I''m calling the page in edit mode,
I''ll want the make, model and year set (using the setMake(),
setModel() and setYear() functions).
I have an EventObserver on the make and model fields so that when they
change, they are updated.
The problem seems to be between the Updater call in setMake() and the
EventObserver for the make field.
Any suggestions on how I could rewrite this would be g...
2006 Feb 09
5
Ajax.Updater not populating element - please help
...ford'';
var the_model = ''thunderbird'';
var the_year = ''1964'';
Event.observe(''make'', ''change'', getModels, false);
Event.observe(''model'', ''change'', getYears, false);
setMake(the_make);
getModels();
/*
if (the_model != null) {
getModels();
setModel(the_model);
}
if (the_year != null) {
getYears();
setYear(the_year);
}
*/
}
function getModels() {
var url = ''/util/model_select_response'';...