Since a few updates of FireFox en Chrome, there seems to be a function I have that isn't working anymore (in JavaScript). The function's name is autocomplete, for example:
function autocomplete() {
alert("autocomplete!");
}
Apparently the browsers don't like this function name anymore, as the function call is being ignored. I tried to rewrite this to the following:
var autocomplete = function() {
alert("autocomplete!");
};
But that won't help me. Changing the name would, though. But I don't want to change the name everywhere where this is being used. Does any of you have a solution maybe?
Edit: The use is demonstrated in the following fiddle: http://jsfiddle.net/P43xs/ I'm trying to trigger the function by event.