Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

add html+text to input of type submit using javascript

$
0
0
I am using a smartsearchbox webpart, and I am adding the text value of its submit input using javascript, like this:$("#p_lt_ctl02_pageplaceholder_p_lt_ctl03_SmartSearchBox1_btnSearch").val('{%GetResourceString("search")%}'); now I want to append to the value a search icon using fontawesome library, how can I achieve that with javascript?

Viewing all articles
Browse latest Browse all 8901

Trending Articles