search for: yearajax

Displaying 2 results from an estimated 2 matches for "yearajax".

2006 Feb 09
5
Ajax.Updater not populating element - please help
...var model = $(''model''); alert(model.length);//This returns 0 } function getYears() { var url = ''/util/year_select_response''; var pars = ''id=''+escape($F(''model'')); var target = ''year''; var yearAjax = new Ajax.Updater(target, url, {method: ''get'', parameters: pars}); } function setMake(the_make) { var make = $(''make''); var makere = new RegExp(the_make); // Set the make for (var i=make.options.length-1; i>=0; i--) { var m = ma...
2006 Feb 07
1
Help needed with conflicting EventObserver
..."model"); model.disabled = false; var modelre = /thunderbird/; // Set the model for (var i=model.options.length-1; i>=0; i--) { var m = model.options[i].value; if ( modelre.test(m) ) { model.selectedIndex = i; var yearAjax = new Ajax.Updater({ success: ''year''}, ''/util/year_select_response'', { parameters: ''id=''+m, onComplete:setYear } ); } } } function setYear() { var year = document.getElementById("year"); var yearre = /1964/;...