Link to home
Start Free TrialLog in
Avatar of Jazzy 1012
Jazzy 1012

asked on

Put glyphicon in my input button

I have this input tag

<input data-original-title="Save this user" data-toggle="tooltip" type="submit" class="btn btn-sm btn-success" id="edit" Value "">

Open in new window

And I want this check sign to be in the input  button as the Value, any clue on how it is done?
<i class="glyphicon glyphicon-user"></i>

Open in new window


Full code section:
                 <div class="panel-footer">
                        <a data-original-title="Broadcast Message" data-toggle="tooltip" type="button" class="btn btn-sm btn-primary"><i class="glyphicon glyphicon-envelope"></i></a>
                        <span class="pull-right">
        <a href="#" data-original-title="Edit this user" data-toggle="tooltip" type="button" class="btn btn-sm btn-warning" onclick = 'showMe()'><i class="glyphicon glyphicon-edit"></i></a>
		<input data-original-title="Save this user" data-toggle="tooltip" type="submit" class="btn btn-sm btn-success" id="edit" Value=><i class="glyphicon glyphicon-saved"></i>
                   
                        </span>
                    </div>

#edit{
	width: 35px;
	height:30px;
	
}

Open in new window


I want it to look like my edit button.
ASKER CERTIFIED SOLUTION
Avatar of Mukesh Yadav
Mukesh Yadav
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jazzy 1012
Jazzy 1012

ASKER

No if I put button tag my form won't work,  I need it to stay input tag
Can you tell us why your form will not work?
Ok I changed it and it worked I had another issue with the forms, thank you!