2013-05-23 2 views
2

이것이 작동하지 않는 이유를 알아낼 수 없습니다.이 모달을 콘텐츠의 끝에 넣고 양식을 넣으려고했습니다. 그러나 모두 작동합니다. UNTIL 내 iframe (내 양식 대상)을 추가하십시오.부트 스트랩 모달 및 iframe/form

는 추가 : 나는 또한 단지

<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> 

    <div class="modal-header"> 
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">X</button> 
    <h3 id="myModalLabel">MyForm</h3> 
    </div> 
    <div class="modal-body"> 
     <iframe width="320" height="240" style="display: none;" name="submitter"> 
     <form target="submitter" method="post" action="template/submit.php" style="height: 1px;"> 
      <div id="formular"> 
Text n Stuff 
     <table> 
      <tr> 
       <td>Name:</td> 
       <td><input type="text" name="name" /></td> 
      </tr> 
     </table> 
     <div id="error"> 
     </div> 

     </div> 
    </div> 
    <div class="modal-footer"> 
     <button class="btn" data-dismiss="modal" aria-hidden="true">Schlie&szlig;en</button> 
    <button class="btn btn-info">Submit</button></form> 
    </div> 

    </div> 

답변

5

당신은 ...이 아래 아무것도 그 모달없이 다른 사이트에 ... 더 이상 (바닥 글) 표시되지 및 양식 모든 것이 잘 작동되는 것을 발견 ... 그냥 ... 감사를 간과 ...이 바보가 될 수있는 방법을 ouh

</iframe> 
+0

... iframe을 닫는 태그가 없습니다 이제 잘 작동합니다. –

+2

:) 모든 이슈의 95 %가 이런 종류입니다 ... – rocky

+0

어쨌든 어리석은 느낌을줍니다 .-- 또 다른 복사 - 붙여 넣기 실수 ... –