napoleontan
asked on
How to search hidden control inside a jquery control
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 iddenInput Name').val ue = 'avalue'.
Is there a way to do it in jquery?
I was trying to set the hidden value using the $('hiddenInputName').val('
I resolved back in doing it in document.getElementById('h
Is there a way to do it in jquery?
var abc = target.get(0).textContent;
// The jquery method Im trying
$('hiddenInputName').val(selectedKatasiki);
// The old style javascript that works
document.getElementById('hiddenInputName').value = abc;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.