Datatable DOM problem

Datatable DOM problem

sharmaprashant239sharmaprashant239 Posts: 2Questions: 1Answers: 0

Hi. I have textboxes in datatable. I have applied required to each textboxes and made a button disabled until all textboxes have supplied a value. But on a same page, when value is filled in all textboxes, button gets activated.

I think it is because of removing values from DOM. Please help me getting out of this.

I want user to filll all textboxes from all pages and then submit to the server.

Answers

  • allanallan Posts: 63,822Questions: 1Answers: 10,517 Site admin

    You need to use the API to get all rows from multiple pages. Use rows().nodes() to get all tr elements.

    Thanks,
    Allan

  • sharmaprashant239sharmaprashant239 Posts: 2Questions: 1Answers: 0

    Hi Allan. I am new to Javascript. Can you give me code for this?
    It will be great help for me.
    Actually I tried rows().nodes() also but not succeeded as I am not familiar with javascript.

    Thanx

  • allanallan Posts: 63,822Questions: 1Answers: 10,517 Site admin

    Certainly - that would be covered by the priority support options.

    Allan

This discussion has been closed.