Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clear all inputs inside row

Tags:

jquery

var new_row has type Object[tr]. How can I clear all inputs inside this row?

like image 494
Yekver Avatar asked Feb 04 '26 02:02

Yekver


1 Answers

Try this:

$(new_row).find("input").val("");
like image 164
Code Maverick Avatar answered Feb 06 '26 15:02

Code Maverick



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!