2016-02-26 94 views
0

http://investinlisbon.ml/ 所以我在頁面頂部我的小表格(按鈕叫我回來了!),但我的提交按鈕(發送)不輟我的提交按鈕不起作用

我猜我的功能也許會磨損我的表格?

JS

$('#cmb-button').toggle(function() { 
//this will happen when your mouse moves over the object 
$('#cmb-button2').css({ 
"display": "none" 
}); 
$('#cmb-button3').css({ 
"display": "inline" 
}); 

}, function() { 
//this is what will happen when you take your mouse off the object 
$('#1101').css({}); 
}); 

PHP

<div id="cmb-button" class="cmb"> 

<div id="cmb-button2"> 

<button type="button" id="buttoncontact"> 
    Call me back! 
</button> 

</div> 

<div id="cmb-button3"> 
<?php 
echo do_shortcode('[contact-form-7  id="1101" title="Call Back PT"]'); 
          ?> 
</div> 
</div> 
+1

'$( '#1101')'*嗯... *。我不認爲CSS ID可以是完全數字的或以數字值開始。 –

+0

是的,我會改變這一點,但這不是它造成的問題,我已經改變了我幾次了。 –

+0

如果這是一個PHP的問題,使用錯誤報告http://php.net/manual/en/function.error-reporting.php - 和/或如果這是一個JS問題,請檢查您的控制檯,並確保jQuery庫加載。看看你的HTML源代碼並使用var_dump()。 –

回答