I have a dialog that contains a grid.
I was trying to set the hidden value using the $('hiddenInputName').val('
avalue') and get it using val method with no parameter but it does not seem to work.
I resolved back in doing it in document.getElementById('h
ue = 'avalue'.
Is there a way to do it in jquery?
var abc = target.get(0).textContent;
// The jquery method Im trying
document.getElementById('hiddenInputName').value = abc;