asp.net - Get Value from thick box control -
i have hidden field on thick box, when close thick need value of hidden field, when close thick box method calls
function tb_remove(parent_func_callback) { parent.document.getelementbyid('hdf').value// need value of hidden field here
please tell me how can hidden field value on thick box?
e.g have page abc, click on heyperlink page abc, page xyz open thick box, on xyz thickbox have hidden field name hdf, click on close button of thick box, tb_remove called that's in thickbox.js file, need value of hdf here in js file use in abc page.
thanks
well if understand question correctly, 'hdf' id of hidden field, value then... if have misunderstood let me know.
i assume thick box mean want control inside iframe or similiar... here's how.
var hdfval = $('#myiframeid').contents().find('#hdf').val();
or simply, need value of control id...
var hdfval = $('#hdf').val();
Comments
Post a Comment