[Solved] How to add text in option using jquery? [closed]

[ad_1]

Try this code:
HTML:

<span id="text1">Medium Tail</span>

JS: you can use empty and append method to do that:

$(document).ready(function(){
$("#text1").empty().append("Medium Tail/Popular");
});

Plz check it out: http://jsfiddle.net/o1f77e1y/

1

[ad_2]

solved How to add text in option using jquery? [closed]