将param发送到远程模态引导程序

时间:2015-05-15 09:49:19

标签: php jquery ajax twitter-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>

这是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">&times;</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> 

我不知道怎么样?但我想打开另一个页面“远程模态”并将是new / index.php
我想将pName参数发送到“project.php”和“new / index.php”!
有人可以帮忙吗?

0 个答案:

没有答案