I\'m just trying to preform a very simple jQuery action.
I have two components: #safety and #safety-tab a, the #safety needs to be
#safety
#safety-tab a
try return false as you are clicking on a link;
$(document).ready(function() { $("#safety-tab a").click(function() { $(this).hide(); $("#safety").removeClass("hide"); return false; }); });