HTML5 Anyway to include a submit button directly into a input type=”text”?
For instance when the user types in something, a button “submit” appears inside the textarea?
Another way to look at it, can u define 2 types in one input?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, you can’t define two input types in the same input element.
To achieve what you want you’d need to define a separate input element for your button, and use CSS and JavaScript to position it and make it appear/disappear etc.