Code Monkey home page Code Monkey logo

crongen's Issues

月份和年份

月份和年份不应该有“不指定“”的选项,不应该能不被设置为?号

Enter Data in Other Fields - Previously Selected Cron Disappears

Hi

I have adapted your Bootstrap3 demo to show you a bug I have encounterd. All I have done is add a new textfield to the mix. The code is below

The issue is, if i select a cron value, then edit another text field. The cron value dissappears and it is empty when I submit the form

I need to have other form elements on my page. Have you any suggestions on what I can do?

Cheers
Damien

<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/css/bootstrap.css" rel="stylesheet">
    <link href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    <title></title>
</head>
    <body>
    <div class="container">
        <form role="form" class="form-inline">
            <div class="form-group">
                <label for="scheduleName">Schedule Name</label>
                <input id="scheduleName" class="form-control" type="text"/>
            </div>
            <div class="form-group">
                <label for="cron">Cron</label>
                <input id="cron" class="form-control" />
            </div>
        </form>
    </div>       

    <script>
            $(function () {
                $("#cron").cronGen();                
            });
        </script>
        <script src="CronGen.js"></script>
        <script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/js/bootstrap.js"></script>
    </body>
</html>

Support Bootstrap 3

Is it possible to support bootstrap version 3? The UI is not looking correctly when using BS 3. The tabs are off and it won't fit the window.

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.