for where we can get jquery file easily

Posted by Shanky11 under jQuery on 5/4/2013 | Points: 10 | Views : 916 | Status : [Member] | Replies : 7
i have to use jquery for that i m t trying to dwnload jquery but i mnot getting the exact file
frm where i can get this???

2nd question???????????
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
<script src="jquery/jquery-1.3.2.min.js" type="text/javascript"></script>

<script type="text/javascript">
$(document).ready(function () {
$("hidebtn").click(function () {
$(this).hide();
});
});
</script>
</asp:Content>
this is not working i want the dive hide on button click
button id="hidebtn" adn div ="homedata"




Responses

Posted by: Ankitsrist on: 5/4/2013 [Member] Starter | Points: 25

Up
0
Down
$("#hidebtn").click(function () {
$('#homedata').hide();
use this # keyword because you are using id

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 5/4/2013 [Member] Starter | Points: 25

Up
0
Down
http://jquery.com/download/ download from here

mark if this helpfull

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Shanky11 on: 5/4/2013 [Member] Starter | Points: 25

Up
0
Down
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
<script src="jquery/jquery1.9.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#hidebtn").click(function(){
$("#homedata").hide();
});
$("#show").click(function(){
$("p").show();
});
});
</script>
</asp:Content>
-------------------------------------still not working

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Shanky11 on: 5/4/2013 [Member] Starter | Points: 25

Up
0
Down
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
<script src="jquery/jquery1.9.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#hidebtn").click(function(){
$("#homedata").hide();
});
$("#show").click(function(){
$("p").show();
});
});
</script>
</asp:Content>
---------its not working?????????????????????????

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 5/4/2013 [Member] Starter | Points: 25

Up
0
Down
$(document).ready(function(){

$('#homedata').show();
$('#hidebtn').click(function(){

$('#homedata').toggle();


});
});

use this

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 5/4/2013 [Member] Starter | Points: 25

Up
0
Down
you dont need to write both show and hide toggle function will do the same job

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 5/5/2013 [Member] Starter | Points: 25

Up
0
Down
have you done

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response