Guest User

Untitled

a guest
Jun 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. $(function(){
  2. function showValues() {
  3. var $results = $('#results').empty()
  4. $("dl:has(input[name])", this)
  5. .each(function(){
  6. $results.append($('label',this).text() + ': '+$('input[name]',this).val()+'<br/>')
  7. })
  8. return false;
  9. }
  10. $('form').submit( showValues );
  11. });
Add Comment
Please, Sign In to add comment