hey guys i have used jquery tabs in my website design. In one page i have 4 tabs and in each tab i have save and clear option . if i click on tab 3 and enter the contents and then save its returning back to tab1!
I want it to be retained in the same tab after saving !
Lookin forward for your replies
Thank you
Yopirates

I can't understand your question.
Post your code.
This will help us to resolve the problem.

Here in the second tab i have a submit button .when i enter some value in the textfield of second tab(tab2) and give submit its again going back to first tab(tab1) .What i want is after i click submit in tab2 it has to be in tab2 oly.It has to be in current tab

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>jQuery UI Tabs - Default functionality</title>
	<link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
	<script type="text/javascript" src="../../jquery-1.4.2.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.tabs.js"></script>
	<link type="text/css" href="../demos.css" rel="stylesheet" />
	<script type="text/javascript">
	$(function() {
		$("#tabs").tabs();
	});
	</script>
</head>
<body>

<div class="demo">

<div id="tabs">
	<ul>
		<li><a href="#tabs-1">Nunc tincidunt</a></li>
		<li><a href="#tabs-2">Proin dolor</a></li>
		<li><a href="#tabs-3">Aenean lacinia</a></li>
	</ul>
	<div id="tabs-1">
		<form name="input"  method="get">
Username1: <input type="text" name="user" />
<input type="reset" value="Start Over" />
	</div>
	<div id="tabs-2">
		<form name="input"  method="get">
Username2: <input type="text" name="user" />
<input type="submit" value="Submit" />
</div>
	<div id="tabs-3">
		<<form name="input"  method="get">
Username3: <input type="text" name="user" />
<input type="reset" value="Start Over" />
	</div>
</div>

</div><!-- End demo -->

<div class="demo-description">

</div><!-- End demo-description -->

</body>
</html>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.