ASP equivalent to isset($_POST)

I have a Colorbox that opens on a page after the document finishes loading. The problem is I only want it to load if someone has clicked through from a link. I would do this in PHP with form POST or GET variables but the site is built in ASP and it's a framework that I can't alter from an e-commerce site. I tried to see if there was an equivalent to if isset($_POST) in ASP but there doesn't seem to be one. Is there a way to do this in ASP? <% IF (Request.Form("clicked")="clicked") %> <%ELSE%> <%END IF%> Is this close? I have a form on another page that submits a hidden post variable with the name="clicked" and the value="clicked" to this page. It still seems to be showing always (whether I click through or not).

以上就是ASP equivalent to isset($_POST)的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准