Hi,
Say I have a variable
tab_something
I need to drop the tab_
bit.
In php it's easy, using str_replace
...
Will
tabSelect = document.location.hash.substr(1,document.location.hash.length);
(which would always be tab_something
)
document.write(tabSelect.replace(/tab_/i, ""));
Work the way I would like it to, consistently across all modern browsers (ie6+) ?
Cheers.