I am trying to embed button add prompt box as:
<?php
echo "<input type='button' name='ok'onclick=prompt('Enter Your email address')value='OK'>";
?>
Its not working. Moreover, On button click a prompt box will appear and user will enter his/her email address and as he/she hit enter email has to b sent on entered email id.