1
我想打開一個帶有href的hyperlinnk標籤的twitter引導模型到外部文件,我想通過GET或POST發送一些數據到文件...我沒有知道怎麼做,通過發表我通過GET想這一點,但它的一些如何不完全地工作,這是我嘗試過...Twitter引導模型遠程URL數據POST和GET
$get_forms="mhk_resources/get_quote_forms.php?inputInsuranceType=$inputInsuranceType&addPartner=$addPartner&inputAge=$inputAge&inputGender=$inputGender&inputSmoked=$inputSmoked&inputCAmount=$inputCAmount&inputChildren=$inputChildren&inputAgep=$inputAgep&inputGenderp=$inputGenderp &inputSmokedp=$inputSmokedp&inputCAmountp=$inputCAmountp";
<a data-target='#myModal' href='<?php echo $get_forms;?>' role='button' class='btn' data-toggle='modal'>Launch demo modal</a>
,但它不工作,如果我使用的只是
href='mhk_resources/get_quote_forms.php?inputInsuranceType=Life'然後它工作正常,但我怎樣才能發送其他變量...?
我用你的建議的代碼,但它仍然無法加載文件...的PHP變量有&編碼,並生成HTML顯示'&'但鏈接仍然沒有加載文件的內容模態... – mhk
我試圖把代碼放在jsfiddle的html部分...這裏是鏈接[JSFIDDLE](http://jsfiddle.net/ yeQ3q /) – mhk