Skip to content

24 ways to impress your friends

Vote down?

DMZ

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!