Giter VIP home page Giter VIP logo

jquery-nextform's Introduction

jquery-nextform

A simple form action contain previous,next and submit button. Inspiration from Jquery-Steps.

Getting Started

jQuery-nextform is a lightweight UI component written for jQuery.

Everything you need to start is:

  1. Include jQuery and jquery-nextform in your HTML code.
<!DOCTYPE html>
<html>
    <head>
        <title>Demo</title>
        <meta charset="utf-8">
        <script src="jquery.js"></script> 
        <script src="jquery-nextform.js"></script>
    </head>
    <body>
        <div class="next" id="1">
        </div>
        <div class="next" id="2">
        </div>
        <div class="form-group pull-right">
            <button id="pre-btn" disabled>Previous</button>
            <button id="nxt-btn">Next</button>
            <button id="submit-btn" disabled>Submit</button>
        </div>
        <script type="text/javascript">
        // When onclick Submit Button
        $('#submit-btn').click(function() {

            //You can type what u want

            alert("hello world");

        });
       </script>
    </body>
</html>

How to add initial steps?

To add steps and their corresponding content.

  1. Add HTML code have class call next and id must be in integer.
<div class="next" id="1">
<h1>Hello World</h1>
</div>
<div class="next" id="2">
<h2>It's me!</h2>
</div>
<div class="next" id="3">
<h2>It's me three!</h2>
</div>

Demo

Demo jquery-nextform alpha

Bug Reports & Feature Requests

You can help by reporting bugs, suggesting features, reviewing feature specifications or just by sharing your opinion.

Use GitHub Issues for all of that.

License

Copyright (c) 2016 FidoUnity. See LICENSE for more details.

jquery-nextform's People

Contributors

fido93 avatar

Watchers

 avatar  avatar

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.