Grab one cell element and post it through a form
Grab one cell element and post it through a form
Hello!
I'm using two datatable powered tables on a html/php website. Every row in each table is equipped with a html-checkbox element. I want to be able to check one row in table one and one row in table two and post a value from a cell in each table row to a form and do some other things.
So far i was unable to grab a cell element and post it through my form.
This is my code:
[code]
var oTable;
$(document).ready(function() {
oTable = $('.dataTableOne').dataTable( {
"bAutoWidth": false,
"sAjaxSource": "data1.txt",
"bDeferRender": true,
"sPaginationType": "full_numbers",
"aoColumns": [
null, null, null, null, null, null, null, null, null, null, {
"bSortable": false,
"fnRender": function(oObj) {
return ''
},
}],
"oLanguage": {
"sLengthMenu": "Zeige _MENU_ Eintr
I'm using two datatable powered tables on a html/php website. Every row in each table is equipped with a html-checkbox element. I want to be able to check one row in table one and one row in table two and post a value from a cell in each table row to a form and do some other things.
So far i was unable to grab a cell element and post it through my form.
This is my code:
[code]
var oTable;
$(document).ready(function() {
oTable = $('.dataTableOne').dataTable( {
"bAutoWidth": false,
"sAjaxSource": "data1.txt",
"bDeferRender": true,
"sPaginationType": "full_numbers",
"aoColumns": [
null, null, null, null, null, null, null, null, null, null, {
"bSortable": false,
"fnRender": function(oObj) {
return ''
},
}],
"oLanguage": {
"sLengthMenu": "Zeige _MENU_ Eintr
This discussion has been closed.