jquery calling different <div> tags
Hello fellow jQuery'ers!
ok my goal is to call two different <div> elements when linking from my un-ordered list of links, (2 different links).
Here is a sample of my code so far:
- <script type="text/javascript">
$(document).ready(function()
{
$("a").click(function ()
{
$("div#login").toggle("fast");
});
});
</script>
this opens up a small login box.
my goal is to open a different <div>, lets call it #search, and not open both at the same time when added to the .click function ()
thanks in advance
shan2on