I'm using Bootstrap modal popup window,this is the button and url
<a href="#" data-toggle="modal" data-target="#applynowModal" data-id="'.$row['id'].'" class="btn action_button but_apply">Apply Now</a>
<div class="modal fade" id="applynowModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
// Modal popup contents
<div class="modal-body">
// contents <?php echo $_GET['id']; // I need to get data-id value here.... ?>
</div>
</div>
I need to pass a unique id when Apply now button is clicked, and get the value in modal-body, How can I do this?