Quantcast
Channel: jQuery remove options from select - Stack Overflow
Viewing all articles
Browse latest Browse all 14

Answer by Md. Shafiqur Rahman for jQuery remove options from select

$
0
0

if your dropdown is in a table and you do not have id for it then you can use the following jquery:

var select_object = purchasing_table.rows[row_index].cells[cell_index].childNodes[1];$(select_object).find('option[value='+site_name+']').remove();

Viewing all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>