Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function(){
- function showValues() {
- var $results = $('#results').empty()
- $("dl:has(input[name])", this)
- .each(function(){
- $results.append($('label',this).text() + ': '+$('input[name]',this).val()+'<br/>')
- })
- return false;
- }
- $('form').submit( showValues );
- });
Add Comment
Please, Sign In to add comment