Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9241137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:19:00+00:00 2026-06-18T08:19:00+00:00

I was just playing with Facebook and Twitter Like & Tweet Button respectively. When

  • 0

I was just playing with Facebook and Twitter Like & Tweet Button respectively. When I noticed that dynamically appended Twitter button does not work but manually added Anchor works. Why is it so?

Here’s The Fiddle : Fiddle

You can see it is not working.

Code:

$("body").append('<a href="https://twitter.com/share" class="twitter-share-button" data-dnt="true" data-count="none" data-via="SitesTwitter">Tweet</a>');
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:19:01+00:00Added an answer on June 18, 2026 at 8:19 am

    How interesting. The current code it’s actually works for me on: http://codepen.io/anon/pen/punfx but I got the same issue of you on your Fiddle.

    I think it’s a timing issue. You have to inject the twitter-wjs once you added dynamically your button. I believe this script will probably scan the page to modifying any link that has the twitter-share-button class, or something like that. So if you add the button after the execution of that script, your link won’t be scanned.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

just like facebook game, I see that even I am playing facebook social game,
I was just playing around with the id() function & noticed that if you
So I have been playing around with the facebook like button but I have
I was just playing around with Rails 3 beta and noticed that link_to_function is
Both the Tweet Button and Facebook Like widgets tell you to add something like
Why is it that services like Google and Facebook use document.createElement('script') instead of just
I'm just playing around with PivotViewer control in Silverlight 5. It seems like many
So i was just playing with files like opening with hex editor and doing
I am just playing with an iPhone test app that orients the view when
I was just playing with the iOS sample code of the facebook sdk, however

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.