Giter VIP home page Giter VIP logo

fleegix-js-javascript-toolkit's People

Contributors

mde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

matzle

fleegix-js-javascript-toolkit's Issues

fleegix.form.restore not working for all form elements

Hello,

I was testing fleegix.form.restore at http://djfs.co.seneca.oh.us/mobile/

Here's the data from fleegix.form.serialize:

name=text%20input%20here&password=password%20here&textarea=text%20area%20here&search=search%20input%20here&slider2=on&slider=30&checkbox-1a=on&checkbox-2a=on&checkbox-3a=on&checkbox-6=on&checkbox-7=on&radio-choice-1=choice-2&radio-choice-b=other&select-choice-1=overnight&select-choice-3=OH

These form elements don't seem to be getting their data reset through fleegix.form.restore:

Choose as many snacks as you'd like:
            <input type="checkbox" name="checkbox-1a" id="checkbox-1a" class="custom" />
            <label for="checkbox-1a">Cheetos</label>

            <input type="checkbox" name="checkbox-2a" id="checkbox-2a" class="custom" />
            <label for="checkbox-2a">Doritos</label>
            
            <input type="checkbox" name="checkbox-3a" id="checkbox-3a" class="custom" />
            <label for="checkbox-3a">Fritos</label>

            <input type="checkbox" name="checkbox-4a" id="checkbox-4a" class="custom" />
            <label for="checkbox-4a">Sun Chips</label>
        </fieldset>
        </div>
        <div data-role="fieldcontain">
        <fieldset data-role="controlgroup" data-type="horizontal">
            <legend>Font styling:</legend>
            <input type="checkbox" name="checkbox-6" id="checkbox-6" class="custom" />

            <label for="checkbox-6">b</label>

            <input type="checkbox" name="checkbox-7" id="checkbox-7" class="custom" />
            <label for="checkbox-7"><em>i</em></label>

            <input type="checkbox" name="checkbox-8" id="checkbox-8" class="custom" />
            <label for="checkbox-8">u</label>    
        </fieldset>
        </div>


        <div data-role="fieldcontain">
            <fieldset data-role="controlgroup">
                <legend>Choose a pet:</legend>
                    <input type="radio" name="radio-choice-1" id="radio-choice-1" value="choice-1" checked="checked" />
                    <label for="radio-choice-1">Cat</label>

                    <input type="radio" name="radio-choice-1" id="radio-choice-2" value="choice-2"  />
                    <label for="radio-choice-2">Dog</label>

                    <input type="radio" name="radio-choice-1" id="radio-choice-3" value="choice-3"  />
                    <label for="radio-choice-3">Hampster</label>

                    <input type="radio" name="radio-choice-1" id="radio-choice-4" value="choice-4"  />
                    <label for="radio-choice-4">Lizard</label>
            </fieldset>
        </div>

        <div data-role="fieldcontain">

            <fieldset data-role="controlgroup" data-type="horizontal">
                <legend>Layout view:</legend>
                    <input type="radio" name="radio-choice-b" id="radio-choice-c" value="on" checked="checked" />
                    <label for="radio-choice-c">List</label>
                    <input type="radio" name="radio-choice-b" id="radio-choice-d" value="off" />
                    <label for="radio-choice-d">Grid</label>
                    <input type="radio" name="radio-choice-b" id="radio-choice-e" value="other" />

                    <label for="radio-choice-e">Gallery</label>
            </fieldset>
        </div>

        <div data-role="fieldcontain">
            <label for="select-choice-1" class="select">Choose shipping method:</label>
            <select name="select-choice-1" id="select-choice-1">
                <option value="standard">Standard: 7 day</option>

                <option value="rush">Rush: 3 days</option>
                <option value="express">Express: next day</option>
                <option value="overnight">Overnight</option>
            </select>
        </div>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.