Solved

What is wrong in append function?

Posted on 2013-06-16
1
325 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with mod_substitute 18 80
Add Rows on a Table 8 54
Secure registration PHP 7 43
Add Promise to Existing Code 6 32
What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

752 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