how to select particular control on load event

Posted by Klbaiju under jQuery on 12/10/2011 | Points: 10 | Views : 1361 | Status : [Member] | Replies : 1
in my application i have a login page that contains 2 tabs like this

<div class="logincontbx">

<ul id="countrytabs" class="shadetabs-login">

<li><a href="#" rel="country1" class="log">&nbsp; Login &nbsp;</a></li>

<li><a class="create" href="#" rel="country2">Create Account</a></li>

</ul>
</div>

on the load event of page login tab should be active.

how it is possible. using jquery

regards

Baiju




Responses

Posted by: Hemanthlaxmi on: 1/25/2012 [Member] Starter | Points: 25

Up
0
Down
You can set the Active Tab Index like this in Page Load
If(!IsPostBack)
{
tabContainer1.ActiveTabIndex=0;
}

If this helps you .
Please "Mark as Answer"

Klbaiju, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response