How can i add a Javascript alert to the hyperlink ? I want to make the alert pop up when someone click on the link . This is the script for now -
<a href="<?php echo ($link1);?>" onclick="popitup();" data-role="button" data-theme="b" data-inline="true" > Send </a>
And i want to add this to the link
<script type="text/javascript">alert('Text.');</script>