[jQuery] Re: switching jquery tabs in code behind(C#)

2009-07-27 Thread noorul
My aspx page: script type=text/javascript $(function() { $('#date0').datepicker({ changeMonth: true, changeYear: true, yearRange: '-30:+0' }); /script div id=tabs ul

[jQuery] Re: switching jquery tabs in code behind(C#)

2009-07-24 Thread noorul
Hi karngu, Here is the one of my tab: Can you send me the javascript to select this tab.. div id=tabs ul lia href=#tabs-1 style=font- size: 12pxAll/a/li /ul div

[jQuery] Re: switching jquery tabs in code behind(C#)

2009-07-23 Thread MorningZ
onclick event would be: - in the aspx's code? - on the client? if it is in the code, then any running of that postback code is going to cause a page reload, and consequent defaulting to the first tab by default if you want the new page reload to stay on the current tab, then you would emit

[jQuery] Re: switching jquery tabs in code behind(C#)

2009-07-23 Thread karnqu
like morningZ said your probably looking for this... ClientScript.RegisterStartupScript(typeof (page class name), startupTabScript, javascript to select correct tab, true); The pain is knowing what the last tab they selected was. But in your case if the button they clicked was on that tab then