I have the following code:
$(\'ul.questions li a\').click(function(event) { $(\'.tab\').hide(); $($(this).attr(\'href\')).fadeIn(\'slow\'); event
You can simply assign it a new value as follows,
window.location.hash