Anitra Smith (anitra) wrote,
Anitra Smith
anitra

ASP and form submission.

When visiting an ASP webpage, hitting "Enter" will theoretically submit a form, but without triggering any click or submit events. It basically just refreshes the page - totally useless, in my opinion.

So how do you get "Enter" to trigger a specific button-click? Set the defaultbutton property on your FORM or ASP:PANEL tag to the name of the button that should be invoked when "Enter" is pressed.
Tags: asp, computer, web development
Subscribe

  • Wegmans!

    The new Wegmans in Northboro is ENORMOUS. I mean, I grew up with large Wegmans, but this place is HUUUUGE! The liquor section alone is bigger than…

  • Friendly's: still friendly for us!

    Glad our local Friendly's was not one of the 63 shut down as part of the company's bankruptcy filing. They were packed out tonight, but the…

  • Missa Gaia

    Excited for the Missa Gaia concert coming up this weekend (Saturday, 8pm, Salem Covenant Church on East Mountain St. Tickets to the general public…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments