JQuery .clone() help
Hi,
A quick JQuery help thread, this is nothing major, but would be nice to have
I'm using clone() to append new form fields to a form like this:
This adds another field as expected, but keeps the values from the previous input - I can't seem to get the new inputs blank
Have tried chaing the .val(" ") function too, with no luck. Any ideas?
Hi,
A quick JQuery help thread, this is nothing major, but would be nice to have

I'm using clone() to append new form fields to a form like this:
Code:
$('#orders').append($('#orders tr:last').clone(true));

Last edited: