I am trying to update the drop down values based on the ajax text response . Below is the snippet i have tried but its not working .Please help!
HTML code:
<option id="ABC:57" value="ABC:57">$50,000</option>
Javascript code :
$("#"+val).html(document.getElementById(val).text.append(" 21"));
I am expecting output in dropdown as : $50,000 21