Hi All,
I'm getting the above error message in Chrome (and Safari) but not in
Firefox or IE. However, on a page refresh it does work. How can it not
work first time around and then decide to work on a page refresh?
I think this is a security issue thing...any help much appreciated.
The code is:
function search() {
working();
var parameters = 'ajax=true';
var search_url = 'search-results.cfm';
// Do ajax request
try {
myAjax = new Ajax.Updater(
'searchResults',
search_url,
{
method: 'post',
parameters: parameters,
onComplete: done
}
);
} catch(err) {
console.log(err);
alert(err.description);
}
} // EOF
window.onload = function() {
//$('country_select').focus();
//alert('loaded');
search();
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---