What I meant by "a link" was an url where to go, in order to inspect your page in my browser. Anyway, not needed any longer now.
Sure that '$(document).ready(function() {... was not useful in your first version, since it contained nothing :-)
At this point, it is worth mention that:
- you are currently using
onclick="trip()" to bind handler to each of your <input>'s
- a more actual manner is to bind them through JS, using:
- $(document).ready(function() {
- $('input[name=pick]').click(trip());
- });
No more critique to your code: looks pretty...