Click here to Skip to main content
15,893,923 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I am using facebook comment button in my website. The button is working nice, but the problem is that it automatically come on pageload.
I want if i click a linkbutton than facebook comment button is fired.

This is my code:
XML
<fb:comments xid="xxx" url="http://example.com/post1" title="my post title"
simple="1" css="http://www.fileden.com/files/2006/10/3/258652/dark_comments.css?3" </fb:comments>


This button in generate on page load. So i want it work by clicking a linkbutton.
Posted
Updated 23-Dec-10 20:31pm
v2

1 solution

Why don't you trigger the button click event on link click? Based on your question it sounds like you just need to do that.

Further, if the visiblility of button is the issue, hide it using style.display property.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900