문제

am trying to make an image "visible= true" after a submit button is clicked. it's an animated gif replacing the progress bar.I want it to be visible when the user first clicks. I know because of the postback it's not working. I tried using some javascript onclientclick() . I tried using the updatepanel and updateprogress still no luck.any advice on how this is done.

도움이 되었습니까?

해결책

You will ideally need to do this using JavaScript, if you don't want the page to postback.

To do this you will need to make sure the element is on the page but hidden, so do not use the visible="false" property, instead use the css display: none; directive.

Then to show it in javascript, select it using your library of choice and show it. For example, with jquery - $('selector').show()

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top