[jQuery] Should be real easy but not for me
Why wont this work. Its so simple. I just want to call a fuction using
the onclick event. I want it to move a div called Panel.
I set up the function
function advmode() (
$("#Panel").SlideInRight(1000);
};
Then inside a table cell with an image for a button I have this simple
link
<a href="#Javascript;" onclick="advmode()"><img src="images/Advanced
Search Button Wide_No.png" width="250" height="25" />
I must be missing something really basic because this does not come
close to working. But this does\
<a href="#Javascript;" id="PanelButtonOpen2"><img src="images/
Advanced Search Button Wide.png" width="250" height="25" />
$('#PanelButtonOpen2').click(function() {
$("#Panel").SlideOutRight(1000);
});
Thanks for any aid I am feeling very silly tonight.
Mitch