how to hide html controls using jQuery
how to hide html controls using jQuery Anonymous User 1151 18 Jun 2018 how to hide html controls using jQuery
Hide elements for Jquery:
Hide function using by two types :
1.hide() - Using the speed parameter
2.hide() - Using the callback parameter
Syntax --// Hide all <X> elements :
$("button").click(function(){
$("X").hide();
});
you can use ready and click function with using CSS:
Example :
$(document).ready(function () {$("#btn_Add").click(function () {
$("#TextBox2").css({ "background-color": "your choice", "font-size": "100%" });
$("#TextBox1").css('visibility', 'hidden');
});
});
I hope, It will useful for you .
Happy Coding :)