Link to home
Start Free TrialLog in
Avatar of Pedro Chagas
Pedro ChagasFlag for Portugal

asked on

What is wrong in append function?

Hi E's. Can you please help me to put bellow code working?
$('#fb_login').append("<fb:login-button size="xlarge" autologoutlink="true" scope="email,user_hometown"
                 onlogin="require('./log').info('onlogin callback')">
  Login com Facebook
</fb:login-button>");

Open in new window

User generated image
OR, maybe can have a alternative to the append function!
The objective is put the code inside the div #fb_login.

The best regards, JC
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial