Select Option jQuery UI Example



Hello Dev,

At this time, i we are going to present you choose choice jQuery ui instance. This text provides you with easy instance of choose choice jQuery ui instance. you’ll choose choice jQuery ui instance. So let’s comply with few step to create instance of choose choice jQuery ui instance.

Instance:


<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta identify="viewport" content material="width=device-width, initial-scale=1">
    <title>Choose Choice jQuery UI Instance</title>
    <hyperlink rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
    <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
    <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
    <type>
        label{
            show:block;
            margin:30px Zero Zero 0;
        }
        .overflow{
            peak:200px;
        }
        .demo{
            margin: Zero auto;
            width:50%;
        }
        h2{
            text-align: middle;
        }
        .demo fieldset{
            margin-top:120px;
            padding:0px 0px 50px 200px;
        }
    </type>
</head>
<physique>
<h2>Choose Choice jQuery UI Instance</h2>
<div class="demo">
    <type motion="#">
        <fieldset>
            <label for="velocity">Choose a velocity</label>
            <choose identify="velocity" id="velocity">
                <choice>Slower</choice>
                <choice>Sluggish</choice>
                <choice chosen="chosen">Medium</choice>
                <choice>Quick</choice>
                <choice>Quicker</choice>
            </choose>
            <label for="recordsdata">Choose a file</label>
            <choose identify="recordsdata" id="recordsdata">
                <optgroup label="Scripts">
                    <choice worth="jquery">jQuery.js</choice>
                    <choice worth="jqueryui">ui.jQuery.js</choice>
                </optgroup>
                <optgroup label="Different recordsdata">
                    <choice worth="somefile">PHP</choice>
                    <choice worth="someotherfile">Laravel</choice>
                </optgroup>
            </choose>
                <label for="quantity">Choose a quantity</label>
                <choose identify="quantity" id="quantity">
                <choice chosen="chosen">1</choice>
                <choice>2</choice>
                <choice>3</choice>
                <choice>4</choice>
                <choice>5</choice>
            </choose>
     
            <label for="salutation">Choose a title</label>
            <choose identify="salutation" id="salutation">
                <choice disabled chosen>Please decide one</choice>
                <choice>Mr.</choice>
                <choice>Mrs.</choice>
                <choice>Dr.</choice>
                <choice>Prof.</choice>
                <choice>Different</choice>
            </choose>
        </fieldset>
    </type>
</div>

    <script>
        $(perform(){
            $( "#velocity" ).selectmenu();
            $( "#recordsdata" ).selectmenu();
            $( "#quantity" )
                .selectmenu()
                .selectmenu( "menuWidget" )
                .addClass( "overflow" );
            $("#salutation").selectmenu();
        });
  </script>
</physique>
</html>

I hope it can help you…



Komentar

Postingan populer dari blog ini

PHP 8 Multiple Select Dropdown Example

Laravel 8 Get HTTP Hostname

JQuery Drag And Drop Menu Example