Hi
i am having problem when try to change tab
the code below is working
$('#tabs').tabs('select', 1);
WORKING FINE
the code below
var nextTab=$('#nextTab').val();
$('#tabs').tabs('select', nextTab);
IS NOT WORKING
the nextTab vairiable is valid tab index
Its drive me crazy! What am i missing
Thanks
From stackoverflow
ntan
-
Are you sure nextTab holds a valid tab index? If yes, don't know if this makes a difference, but try converting it to a Number:
var nextTab = Number($('#nextTab').val());
ntan : cross my mind but...Thanks yoy save meFrom Anurag
0 comments:
Post a Comment