How is this input tag linking to another page?

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-05-08T23:52:51Z Indexed on 2010/05/09 0:18 UTC
Read the original article Hit count: 179

Filed under:
|
|
 Response.Write("<div><input type='submit' name='submit' value='Update Cart' /></div>")
 Response.Write("<div><input type='submit' name='submit' value='Shop More' /></div>")
 Response.Write("<div><input type='submit' name='submit' value='Checkout' /></div>")

that is some example code from my teacher, but he hasn't answered my email in a couple days so I need some help.

When you click the Update Cart button it just updates the cart page it's on, but when you click the Shop More button it links to Shop.aspx a different page, and the Checkout links to another page as well. I can't figure out how it is linking just from that code, anybody have any insights?

© Stack Overflow or respective owner

Related posts about html

Related posts about vb.net