I have 2 buttons, 1 simple and other Facebook like button, I want to make that after my simple button is clicked, It activated(clicked) Facebook button too, but It wont work. I've used this code:

This is other code.After my Like button is clicked It alert "I just clicked like button", but this line not working $(this).remove();. (But I need to make like I said in first case. Click "Test" button to get clicked "fb-like" button.)

Maybe some lines from this code are needed, something like these window.fbAsyncInit = function(e) { FB.Event.subscribe('edge.create', function(response) {?

View Solution