English 中文(简体)
同纽伦一样,没有工作
原标题:Like button is not working

I am using AJAX and in the page I have used this script. It s working on local server. But it s not working on the live server.

 <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"
 type="text/javascript"></script>
 <script type="text/javascript">
        //<![CDATA[
        var fb = document.createElement( fb:like );
        fb.setAttribute("href","<?php echo  http://bagstudio.co.uk/menu_details.php?pid= .$product_id; ?>")
        fb.setAttribute("layout","button_count");
        fb.setAttribute("show_faces","false");
        fb.setAttribute("width","100");
        fb.setAttribute("font","arial");
        document.getElementById("FaceBookLikeButton").appendChild(fb);
        //]]>
 </script>
问题回答

您是否检查了你的错误。 你可能在网页上有一处错误。 这可能会造成整个事情崩溃。 我建议,因为你的法典对我来说是完美的。 并核实事实上还有背书的成分。 * E/CN.6/2009/1。





相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

How can i update div continuously

I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...

热门标签