im having many img tag dynamically printed from facebook album pictures, like below
echo '<'img src="' . $photo_detail['src_small'] . '" id="imageurl" onclick="return false" />';
i need is---- when clicking on image the source of image is should set to <'input type="hidden" id="imagesrc"/> value in the form when submitting the form the value also submitted ---- like an image picker