2 Name: <input type="text" name="name"><br/>
3 Email: <input type="text" name="email"><br/>
4 </form>
2 <script>
3 $(document).ready(function() {
4 $("input").keyup(function() {
5 var val = $(this).val()
6 $(this).val(val.toUpperCase())
7 })
8 })
9 </script>
The code behind this is fairly trivial. I've got a file I include to generate my chart data. Normally this would be a proper database query. The main template's code consists of: