且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用jquery和asp.net代码在asp.net中显示/隐藏div

更新时间:2023-02-11 22:38:47

您可以尝试以下内容。



 


( #yourButton)点击(函数(){

( #第一)隐藏();

hi
i want to show a div id="first" before button click and when user clicks search button, want to show other div ="second" with other info and hide first div for time being till redirect to other page

how to do this using asp.net code behind and jquery

same like in makemytrip, when u search hotel , it shows searching and then redirects to hotel list page

I want exactly that way

how to do this

regards
maulik shah

You may try something is as below.



("#yourButton").click(function(){


("#first").hide();