php - Getting a value from a dynamic table -


I have a table that is used dynamically. foreach ($ value as $ value) {echo '& lt; Tr & gt; & Lt; TD & gt; '. $ Value- & gt; OBJECT_NAME. ' & Lt; / TD & gt; & Lt; TD & gt; '. $ Value- & gt; ISSN. ' & Lt; / TD & gt; & Lt; TD & gt; '. $ Value- & gt; Object_publisher_name. ' & Lt; / TD & gt; & Lt; TD & gt; '. $ Value->. Comment '& lt; / TD & gt; & Lt; Td id = "chkbutton" & gt; '. $ Form-> Checkbox ($ Model, "Journal_ID"). ' & Lt; / Td> & Lt; td style = "display: none;" & Gt; '$ Value- & gt; Object_id. ' & Lt; / Td> & Lt; / TR & gt; '; }

I have to get the value (journal_id) from the hidden column when the respective check box should be checked and then ask the DB to get the data from the relevant ID and fill the drop down list. . How should I do this?

You must use javascript to specify the details of columns

  var table = $ ('# journal_table'). Datatyllus ({'columnDefs': [// This column is not visible. O is the first call, 1 is second, {'view': wrong, 'target': [5]}, ... {. Other settings ...}]});    

Comments

Popular posts from this blog

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -