I'm having a problems, everytime I click my btn_register
the tab goes back to Login. Why is this?
Here's my JAVASCRIPT Code:
$(function() {
$("input:submit").button();
$("#tabs").tabs();
});
Here's my HTML Code:
<section id="tabs">
<ul>
<li><a href="#login">Login</a></li>
<li><a href="#register">Register</a></li>
</ul>
<article id="login">
<p>
<form>
<input type="submit" id="btn_login">
</form>
</p>
</article>
<article id="register">
<form>
<input type="submit" id="btn_register">
</form>
</p>
</article>