capture params from hidden div