Hi,
I am using jQuery tabs in my apex page see code below:
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>
<script type="text/javascript">
$(function() {
$("#tabs").tabs();
$x("tabs").appendChild( $x("tabs-1"));
$x("tabs").appendChild( $x("tabs-2"));
});
</script
<div id="tabs">
<ul>
<li><a href="#tabs-1">Sample Tab1</a></li>
<li><a href="#tabs-2">Sample Tab2</a></li>
</ul>
</div>
I would like to display a button (example a button called sample2) at the bottom of a tabbed region Sample Tab2 based on a condition i.e. only if Sample Tab2 is clicked or in focus. Could someone please guide me on how i could implement this using a condition on the actual button "sample2"?
Thanks and appreciate any kind of help!
Cheers.