The Hide mthod is not working in simple example
I am new to jquery and havin trouble with simple example; I am using the HIDE method to
hide a DIV ID on click when i click the ID it hides what I want but only for 2 seconds then it reappears
- <script>
$(document).ready(function() {
$("#profiles").click(function() {
$("#arty").hide();
});
});
</script>
<a href="" id="profiles">Profile</a>
<div id="arty">
@Html.Partial("_article")
</div>
This example works for 2 seconds only how can I make the arty DIV hide permantly upon clicking the profile link.