mercredi 15 avril 2015

jQuery, is there a way to set anchor in URL after form submitting?

For example, I have tabulators (bootstrap, tabpanel) which changes the url, adding #tab1, #tab2, ... as Im clicking on them. Lets say I do a submit from #tab1, and want to jump to #tab2, how to do that? All I have is:



.
.
.
$(formObj).submit();
return false;


the action of form is empty (<form method="post">)


Aucun commentaire:

Enregistrer un commentaire