I am having a list of users with delete hyperlink assume
<a href="#" onclick="delete(id)">Delete</a>
And i have a combo box at the top to filter specific user using user id.
The delete action will performed with ajax and it reloads the content. The content gets reloaded but the combo box contains the deleted id. Is there any way to clear it using jquery.
You can remove an option like
$("#selectBox option[value='option1']").remove();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With