clear icon inside input text

clear icon inside input text  using -'javascript,jquery,html,css'

I'm wondering if there is a quick way to create an input text element with an icon on the right to clear the input element itself (like the google search box).

I looked around but I only found how to put an icon as background of the input element.

Is there a jQuery plugin or something else?


EDIT: I want the icon inside the input text element

something like:

|                                               X|


asked Sep 16, 2015 by amit_cmps
0 votes

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.