Insert icon inside button
-
Is it possible to change button for voting from
<input type="button" name="vote" value="Vote " class="Buttons" onclick="poll_vote(%POLL_ID%);" />
to
<button onclick="poll_vote(%POLL_ID%);"> Vote <i class="fa fa-check" aria-hidden="true"></i></button>
?I tried it but it doesn’t seems to work. I am trying to place Font Awesome icon inside.
Also is it possible to have the same plugin for multiple languages? I am using Polylang and it would be great if we could just do pll_e(‘Vote’) instead of hardcoding value ??
- The topic ‘Insert icon inside button’ is closed to new replies.