show hidden field

show hidden field

manedi001manedi001 Posts: 2Questions: 0Answers: 0
edited February 2012 in Plug-ins
Hello, I have a problem and do not know how to solve it.

I use datatables with a mysql DB and a field ID, unique for each row.

My intention is to click on the row in datatables and that I return the ID field value, which is a hidden field.

How I can do? What function should I use?

I've been using the search engine, but can not find the solution.

Thanks for everything.

Replies

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin
    You can use fnGetData or the underscore (_) function to get the data for a given row. That will give you the data that you original populated the DB with. If you want to work with nodes then the fnGetNodes or the $ API methods are the way to go.

    Allan
  • manedi001manedi001 Posts: 2Questions: 0Answers: 0
    Thanks Allan!!!
This discussion has been closed.