JSFiddle - React, Tailwind, and code Playground
by vaff
HTML
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-alert.js"></script>
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JavaScript Post</title>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
<style>
.container { width: 400px; margin: 50px auto; }
#alert { display: none; }
</style>
</head>
<body>
<div class="container">
<form class="form-horizontal">
<fieldset>
<legend>Beregn porto for et brev</legend>
<div class="control-group">
<label class="control-label" for="weight">Indtast vægten:</label>
<div class="controls">
<div class="input-append">
<input class="span2" id="weight" size="16" type="text">
<span class="add-on">g.</span>
</div>
<p class="help-block">Vægten skal angives i gram</p>
</div>
</div>
<div class="control-group">
<label class="control-label">Forsendelses types</label>
<div class="controls">
<label class="radio">
<input type="radio" name="optionsRadios" id="a" value="a" checked="">
A post
</label>
<label class="radio">
<input type="radio" name="optionsRadios" id="b" value="b">
B post
</label>
</div>
</div>
<div class="alert"...