Classic asp button click on enter -



Classic asp button click on enter -

i new classic asp , trying figure out basic stuff. have form textbox , user enters info in form , press enter, button click should happen. attributes should alter in form tag accomplish functionality??

the button place in form should submit button. in form tag itself, need set id, method , action attributes, similar to:

class="lang-html prettyprint-override"><form id="mainform" method="post" action="mypage.asp"> <input type="text" name="mytextbox" /> <button type="submit" id="submitform" /> </form>

your input (text) box , submit button should lie between open , close form tags.

note here there no vb or jscript involved @ point. comes 1 time receive post form.

asp-classic

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -