Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

How to make a button an input button?

[Image: 6ed04425cf637850fe5679c64b3a94ce.png]

How can I make a button act as a input button would?
This question makes no sense at all.

Code
<input type='button'/>
and
Code
<button type='button'/>
both behave as buttons with no default behavior specified.


I used to eat poop. I still do, but I used to.
(Dec 27, 2015 02:15 PM)JIM NASIUM'S GYMNASIUM Wrote:  This question makes no sense at all.

Code
<input type='button'/>
and
Code
<button type='button'/>
both behave as buttons with no default behavior specified.

Well when my button is this:

Code
<button type="button" class="btn btn-default">
            <span class="glyphicon glyphicon-search" type="submit" value="Search"></span> Search
          </button>

and submit button is this:

Code
<input type="submit" value="Search" class="Search_form_2">

The button doesn't behave as a submit button to submit my form. When I click the button nothing happens.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Perl] by MilitiaMar 24, 2013 02:00 PM 3 132 Mar 24, 2013 02:00 PM
Last Post: g4143