You are viewing limited content. For full access, please sign in.

Question

Question

Javascript on each row

asked on January 22, 2019

Hello,

I have the following code:

$('.last').change(function() {
    $('.last input').val( toTitleCase($('.last input').val()));
 }); 

It only runs on the first row, how do I make sure that it runs on all rows in tabl?

0 0

Replies

replied on January 22, 2019

It sounds like you're running into an issue with the rows that were added after the form loaded.

I wrote something up about this issue here.

1 0
replied on January 22, 2019

Thanks Jason, will try tomorrow & report back!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.