How to same Toggle Method for multiple Click location
I am very new to this jQuery and trying to figure out few basic things
in my page i have multiple <a> but few are supposed to open the panels and other things to navigate.
wanted to know how can i use a single method for toggeling...
as i dont want to write theses functions again and again....
$(document).ready(function () {
$("img#imgClearCodes").click(function () {
$("div#divCCodes").toggle();
});
});
$(document).ready(function () {
$("a#lnkAdd").click(function () {
$("div#divCCodes").toggle();
});
});
Could you please help me out on this.....