I want to show()
"<div id="test">write text here</div"
on click and not on page load.
<script type="text/javascript">
$(document).ready(function(){
$("#click_test").stop(function(event){
event.preventDefault();
$("#test").slideup();
});
$("#click_test").click(function(event){
event.preventDefault();
$("#test").toggle();
});
});
</script>
</head>
<body>
<a href="#" id="click_test">Click Here</a>
<div id="test">write text here</div>
Thanks