hsal / crongen Goto Github PK
View Code? Open in Web Editor NEWcron.js is a jQuery plugin for generating cron expressions.
License: MIT License
cron.js is a jQuery plugin for generating cron expressions.
License: MIT License
Done!
cronGen.js given wrong in Deml.html and DemoBS3.html
<script src="CronGen.js"></script>
This should be
<script src="cronGen.js"></script>
Right now when you make a selection and close the popover, when you click on it again you lose your previous input and must supply everything again.
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.
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>
月份和年份不应该有“不指定“”的选项,不应该能不被设置为?号
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.