the following code is giving me a runtime error in IE 6.0 in Win XP:
Event.observe(window, 'load', getOptions, false);
function getOptions(){
var url = 'Query.cfm';
var pars = 'group='+escape($F('Select'));
var target = 'Options';
var myAjax = new Ajax.Updater(target, url, {method: 'get', parameters: pars});}
any ideas? from what i can tell the line giving the error is the last line of the block that starts with if (receiver) { under the block that starts with updateContent: function() {
Options is a div, Query.cfm generates a select menu. Help!
the following code is giving me a runtime error in IE 6.0 in Win XP:
Event.observe(window, 'load', getOptions, false);function getOptions(){var url = 'Query.cfm';var pars = 'group='+escape($F('Select'));var target = 'Options';var myAjax = new Ajax.Updater(target, url, {method: 'get', parameters: pars});}any ideas? from what i can tell the line giving the error is the last line of the block that starts with
if (receiver) {under the block that starts withupdateContent: function() {Optionsis a div,Query.cfmgenerates a select menu. Help!