Solved

What is wrong in append function?

Posted on 2013-06-16
1
322 Views
Last Modified: 2013-06-16
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

the aspect of the code in editor program
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
0
Comment
Question by:Pedro Chagas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39251557
$('#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

0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Print Rhino Java Array in Javascript 1 34
Open dialog with server side controls in it 3 46
Date on a table 16 34
Validating Date 4 28
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question