I'm trying to give some functionality to my button using jquery click function. But when i run the code the function wouldn't get invoke at all.
My code is:
<script type="text/javascript">
$(function () {
$("#min").click(function(e){
$("#listFriends").css('display','none');
$("#friendsO").show();
});
</script>
And
<button id="min">[-]</button>
Please anyone tell me what mistake I made in this code.....Thanks..........