<html>
<head>
<title>My Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimal-ui">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.css" />
<link rel="stylesheet" href="css/style.css">
<style>
.fullwidth .ui-controlgroup-controls .ui-checkbox {
width: 100%;
}
.fullwidth .ui-controlgroup-controls .ui-checkbox label {
width: 100%;
}
</style>
</head>
<body>
<div data-role="page" data-theme="b">
<div data-role="header">
<h1>Primary Codes</h1><br>
</div><!-- /header -->
<div data-role="content">
<h1 id="result">Code: <span id="prefix"></span><span id="suffix"></span></h1>
<form>
<div class="custom">
<fieldset class="fullwidth" data-role="controlgroup" data-type="horizontal">
<input type="checkbox" name="checkbox-h-2a" id="phone">
<label for="phone">Phone</label>
<input type="checkbox" name="checkbox-h-2b" id="internet">
<label for="internet">Internet</label>
<input type="checkbox" name="checkbox-h-2c" id="video">
<label for="video">Video</label>
</fieldset>
</div>
<fieldset data-role="controlgroup2">
<legend></legend>
<input type="radio" name="jobtype" id="1" value="1">
<label for="1">New Aerial</label>
<input type="radio" name="jobtype" id="2" value="2">
<label for="2">New Underground</label>
<input type="radio" name="jobtype" id="3" value="3">
<label for="3">MDU/Apartment</label>
<input type="radio" name="jobtype" id="4" value="4">
<label for="4">Reconnect</label>
</fieldset>
</form>
</div><!-- /content -->
</div><!-- /page -->
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.js"></script>
<script src="js/primary.js"></script>
</body>
</html>
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |