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 8388533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:29:30+00:00 2026-06-09T18:29:30+00:00

I am injecting a partial into a page using $().html(content). Part of the partial

  • 0

I am injecting a partial into a page using $().html(content). Part of the partial is JavaScript code in an inline script block I need to inspect. When I look in the Sources tab in the Chrome Developer Tools it doesn’t show the injected content. All it shows is the original source.

Is there a way to gain access to the JavaScript?

Update

I am using Google Chrome 21.0.1180.77 but I also have Google Chrome Canary installed.

  • 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-09T18:29:31+00:00Added an answer on June 9, 2026 at 6:29 pm

    I don’t have a Sources tab (Elements, Resources, Network, Scripts, Timeline, Profiles, Audits, Console).

    The Elements tab always reflects the current state of the DOM, so it will show any injected scripts. EDIT: This appears to be wrong.

    There’s a Chrome issue about this: http://code.google.com/p/chromium/issues/detail?id=95352

    You can add a specially formed comment to the injected JavaScript code, and it will then show up in the Scripts tab (but it still doesn’t show up in the Elements tab, for whatever reason):

    //@ sourceUrl=whatever.js
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm injecting the HTML for web page's header into the DOM via jquery (simulate
I am injecting javascript into a page via autohotkey by entering javascript:blahblahblah into the
I'm inserting some non-server controls (plain html controls) dynamically into an update panel using
I am injecting a piece of VBA code into a Microsoft Access database from
I am having trouble injecting a service into a custom tag I created: @Configurable
Is there a way to prevent Castle Windsor from automatically injecting dependencies into properties
I'm customising the Group Headers on a Telerik RadGrid by injecting a LinkButton into
I currently have a JS function that allows me to load partial content from
I'm trying to figure out the best way to insert content into a light
I'd need to parse partial SQL queries (it's for a SQL injection auditing tool).

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.