dear all..
i have some <div id="hideclass">
in jquery tabs.
i want it can hidden or not appear.
i want it can appear after i have click some button.
how do i do that?
views:
14answers:
1
+2
A:
Use this CSS:
#hideclass{
display:none;
}
And jQuery:
$('#button').click(function(){
$('#hideclass').show();
});
Or you might want to slide toggle it:
$('#button').click(function(){
$('#hideclass').slideToggle();
});
Where #button
is the id of the button which when clicked will show the div eg:
<button id="button">
Sarfraz
2010-08-03 08:06:58
+1 its awesome thanks.
klox
2010-08-03 08:12:02
@klox: You are welcome...
Sarfraz
2010-08-03 08:12:48