开发者

Response.Redirect() target in to a div

开发者 https://www.devze.com 2023-01-19 01:46 出处:网络
Can i开发者_如何学Python redirect a page into a div using Response.Redirect()?No, a <div> exists client side. With a redirect you can only say that the current request should be submitted again

Can i开发者_如何学Python redirect a page into a div using Response.Redirect()?


No, a <div> exists client side. With a redirect you can only say that the current request should be submitted again at the new address. You can't specify where that redirect should end (frame, iframe, div, window ..).

You will have to do it from the client side: have the div (or whatever) load from some url (which could do a redirect).


Whtr u need to display div on the same page or div on the another page? Or u want to display the particular div in a pop-up?

0

精彩评论

暂无评论...
验证码 换一张
取 消