My aspx page:
script type=text/javascript
$(function() {
$('#date0').datepicker({
changeMonth: true,
changeYear: true,
yearRange: '-30:+0'
});
/script
div id=tabs
ul
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
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
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
4 matches
Mail list logo