get the value(text) of ex:oTable.fnGetPosition( this )[2]
get the value(text) of ex:oTable.fnGetPosition( this )[2]
Its my first post here. I'm using datatables with jeditable and i can't find the way to get the cell value ( text ) to use in parameter.
this is my code:
"submitdata": function ( value, settings ) {
return {
"rowid": this.parentNode.getAttribute('id'),
"cod_casa": <%response.write(request("cod_casa"))%>,
"inicio":[code]$('td',oTable.fnGetPosition( this )[2]).html(), [/code]
"fim": [code]this.html(),[/code]
"preco": [code]this.text('),[/code]
};
this is my code:
"submitdata": function ( value, settings ) {
return {
"rowid": this.parentNode.getAttribute('id'),
"cod_casa": <%response.write(request("cod_casa"))%>,
"inicio":[code]$('td',oTable.fnGetPosition( this )[2]).html(), [/code]
"fim": [code]this.html(),[/code]
"preco": [code]this.text('),[/code]
};
This discussion has been closed.