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

  • Home
  • SEARCH
  • 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 8166689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:57:50+00:00 2026-06-06T19:57:50+00:00

I copied the code from this link by giving company name and clicking the

  • 0

I copied the code from this link by giving company name and clicking the Get Code button. It generated the code given below

<script src="//platform.linkedin.com/in.js" type="text/javascript"></script>
<script type="IN/FollowCompany" data-id="361557" data-counter="right"></script>

I pasted this code in tag of a html file and then run the html file in Chrome, Firefox and IE, but all browser gave a blank page as output.

Then I paste those script n the tag but the output remains same.

How should I create the html file, so that it could generate the inFollow button.

Please help me.

  • 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-06T19:57:51+00:00Added an answer on June 6, 2026 at 7:57 pm

    Well it appears that you are just invoking the JavaScript. You must place the JavaScript into an HTML Document and then have an element that corresponds with that script.

    Remember you also have to have a full structured HTML Document before you can just place Script tags into it, you need html, body, head, tags, etc.

    Try creating an HTML Document and placing this within the .html file.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    
    <script src="//platform.linkedin.com/in.js" type="text/javascript"></script>
    <script type="IN/FollowCompany" data-id="361557" data-counter="right"></script>
    
    </body>
    </html>
    

    Tips to remember:

    • A lot of scripts require an element to correspond with.
    • You may either place the script within the script tags in the body
      tags or the head tags, depending on if you may or may not be
      selecting an element on the page.
    • Each HTML document requires the correct mark-up before a browser
      can render it.

    Hope this helps!

    EDIT:
    Just upload it to a server, once you do that, it will work. I cannot explain why though.

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

Sidebar

Related Questions

I copied this code from an example . I've read it 100 times. Array.prototype.map
This code is copied from another file and it works in that file, I
I have this sample code for async operations (copied from the interwebs) public class
Given the following code (copied from the attoparsec library) what does the inline pragma
THe code below I copied from MSDN with a bit of modification: [DllImport(user32.dll, CharSet
I'm using the code from this link to send attachments in the email notifications
I have copied this code from the official example... I just replaced the api
i am using SharpZipLib. i copied code from link text i use it to
I copied this code from the libjpeg example and im passing it standard files;
I'm using this block of code (mostly copied from a PHP.net comment here -

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.