Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

jquery unselect option

$("option:selected").removeAttr("selected"); //solution 1
$("option:selected").prop("selected", false); //solution 2
Comment

PREVIOUS NEXT
Code Example
Javascript :: npm install gatsby cli 
Javascript :: yarn angular cli 
Javascript :: how to uncheck a checkbox in jquery 
Javascript :: alpine js cdn 
Javascript :: javascript remove all but numbers 
Javascript :: jQuery ui embed 
Javascript :: kill all node processes 
Javascript :: javascript string to double 
Javascript :: bootstrap datepicker js cdn 
Javascript :: react image onerror 
Javascript :: jquery refresh page 
Javascript :: javascript get body element 
Javascript :: javascript remove diacritics 
Javascript :: pick a number between two numbers javascript 
Javascript :: get string after character javascript 
Javascript :: google apis jquery 
Javascript :: angular validators number only in reactive form 
Javascript :: jquery responsive 
Javascript :: select2 destroy 
Javascript :: javascript get element by class name 
Javascript :: dinosaur game 
Javascript :: material-ui textfield underline hide 
Javascript :: How to get current URL with Javascript or React 
Javascript :: vanilla js on click 
Javascript :: Slick slider arrows change 
Javascript :: javascript run document ready 
Javascript :: javascript remove line breaks from string 
Javascript :: execute javascript on page load jquery 
Javascript :: puppeteer headless false 
Javascript :: get height element use js 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =