I’m trying to figure out a way to .slide on a during page load, but I am unsure of the best practice to do so. I am familiar with using the .slide method, but am unsure how I can fix it to execute on page load, rather than a click.
$(function() {
$("#clickLink").click(
function () {
$("#hiddenField").slideDown("slow");
}
)
});
inside the script tag write
Note: to SlideDown any of your control on the webpage/html its css display property should be
display:noneBut here from your ID use in the code you are trying to display hidden field. HTML hidden fields are not displayed even after
display:blockthats the reason they are hidden fields.Please verify the code and if possible so us your html and which element you are trying to display (slide down) on page load.