Menu
To whom it may concern,
I have the following lines in my JS code:
w.document.write(“<li><input type=’button’ value='” + tabs[i] + “‘ name=’tab” + i + “‘></li>”);
w[‘tab’+i].onclick = tabs_onclick(tabs[i]);
function tabs_onclick(value)
{
return (function tabs()
{
<part of the function that works ok…>
});
}
The code above works fine in IE but doesn’t work in MAC OSX SAFARI. To be exact the return function in the onclick function doesn’t work in Safari. Please let me know what can I do to make it work. Any help is appreciated.
Thx.