One with 4, being a hide. Is there any way I can click on any and get the value of hide and send to my controller? This way I get the value of being clicked.
$('#nmUsuario').on("dblclick", '.clique', function () {
CarregaDados($(this).text());
})
function CarregaDados(ajaxParameter) {
$.ajax({
url: '/CadastroAcesso/CarregaDadosPagina',
datatype: 'json',
contentType: 'application/json;charset=utf-8',
type: 'POST',
data: JSON.stringify({ _nivel: ajaxParameter }),
success: function (data) {
},
error: function (error) {
}
})
}
Now, as I click on this <TD>
and get the value of what hide is. I think I should get the value of <TR>
, make one each and just load the value of <TD>
hide, but I'm getting caught up in it. How do I go through <TR>
to get the <TD>
I want.
I've been gone for a while now and came back to finish what I started. Still giving an error. It does not enter into the success of ajax
, on the contrary, it enters the function Error
of ajax
.