php - Send param to remote modal bootstrap -
i want send form remote modal bootstrap,
<?php include ("project.php"); ?> <div id="tnew" class="inner cover" > <form class="objectif"> <input class="form-control" name="pname" required autofocus> <p class="lead"><a href="#" data-toggle="modal" data-target="#project" class="btn btn-lg btn-default" name="projectname" type="submit">résoudre!</a> </p> </form> </div>
and here project.php:
<div class="modal fade" id="project" tabindex="-1" role="dialog" aria-labelledby="mymodallabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="mymodallabel" name="pname"></h4> </div> <div class="modal-body"> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">close</button> </div> </div> </div> </div>
i don't know how? want open page "remote modal" , new/index.php
, want send pname param "project.php" , "new/index.php"!
can ?
Comments
Post a Comment