Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

select remove option jquery

$('.ct option').each(function() {
    if ( $(this).val() == 'X' ) {
        $(this).remove();
    }
});
Comment

jquery remove items from dropdownlist

<script>
$( ".dropdown" ).change(function() {
  dropdownval = $( ".dropdown" ).val();
  $(".dropdown option[value='dropdownval']").remove();
});
</script>
Comment

jquery remove option from select

$("#select-list").empty()
Comment

PREVIOUS NEXT
Code Example
Javascript :: replace double slash with single slash node.js 
Javascript :: JavaScript Built-in Constructors 
Javascript :: add multiple class list at once in js 
Javascript :: js is numeric 
Javascript :: capitalize the string 
Javascript :: jquery replace h1 with h2 
Javascript :: Shuffle a Sting in JavaScript 
Javascript :: jquery select div in div 
Javascript :: dynamically add script code to page 
Javascript :: flask socketio example 
Javascript :: javascript dice throw 
Javascript :: flutter access json object inside object 
Javascript :: cypress click link contains text 
Javascript :: filter biggest value javascript object 
Javascript :: nodejs download image from url 
Javascript :: how to modify external json file javascript 
Javascript :: how get value of json encode in laravel 
Javascript :: TypeError: (0 , T.useState) is not a function 
Javascript :: change property name of object in array javascript 
Javascript :: react state hooks 
Javascript :: how to import your external js 
Javascript :: vue watch props 
Javascript :: axios get status code 
Javascript :: count duplicate elements in array javascript 
Javascript :: linear gradient reactjs 
Javascript :: regex numéro de téléphone 
Javascript :: giving an html element own attribute using js 
Javascript :: rename file in js 
Javascript :: how to check if window is loaded javascript 
Javascript :: javascript try catch 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =