Skip to content Skip to sidebar Skip to footer

(JS/JQuery) Changing Default Value/placeholder Of Custom Dropdown?

So, here's the HTML for a custom dropdown that doesn't use a select tag. The placeholder/default value for the dropdown is 'Acura', which is the first element in the list (ul). I'm

Solution 1:

You have to change

<div class="custom_dd_select">
    <span>
  <a>Acura</a></span>
</div>

to

<div class="custom_dd_select">
        <span>
      <a>BMW</a></span>
</div>

That will work


Post a Comment for "(JS/JQuery) Changing Default Value/placeholder Of Custom Dropdown?"