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

Question

Question

removing a collection's records

asked on August 23, 2016

I have used the following code to determine where or not to remove a collection's records:

 

But the deletion trigger causes the focus to move back to the beginning of the form. 

I have tried using  

     $('.depform').remove();

but it completely removes everything and I cannot make the call to append a row should another selection is made.

0 0

Replies

replied on August 23, 2016 Show version history

You can add a line of code after the removal the records to move the focus to the field you want:

      $('.focushere input').trigger('focus');

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

Sign in to reply to this post.