Speed up development with full-stack environments for every branch.

Learn More

how to select option value using jquery

569 Runs 2444 Views 595 Copies


dipesh.parmar 55

published 4 years ago

        <!-- Load jQuery from Google's CDN -->
        <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
        <!-- Source our javascript file with the jQUERY code -->
        <script src="script.js"></script>
        <select id="opts">
          <option value="DEFAULT">Default</option>
          <option value="SEL1">Selection 1</option>
          <option value="SEL2">Selection 2</option>
    Please login/signup to get access to the terminal.

    Your session has timed out.

    Dismiss (the page may not function properly).