I think that I will learn something about how Javascript thinks, and as a PHP coder that will be a big help. I have provided a link to a working model here, it's a tab interface, very simple:
http://mypilotsupply.com/console/dev.click.php
click on any tab to see what I mean.
If I physically "click" on a tab, it shows that layer and hides the others.
My QUESTION is, how can I write the following, either:
document.getElementById('tab_history').onclick();
or
$('#tab_history').onclick();
since the function I wrote is bound to that class, I can't figure out how to effect the same as if I'd clicked it.
Again, your answer is appreciated and will probably give me some insight into the concept of functions and anonymous functions.