View source of AJAX content

Is there a way to view the source code of content that is included in an AJAX response?
For example, I load a page and click on a link that fetches content from another filed and loads that into a div of the loaded page. If I view source as normal, it only shows me the code of the original page loaded. Same thing with the web inspector.
My goal here is to validate my HTML markup, including that outputted by PHP scripts and requested via AJAX. Any ideas?

Safari -> Preferences -> Advanced -> Show Develop Menu In Toolbar
Develop -> Show Web Inspector

Similar Messages

  • Possible to preview Safari 7 rendered ajax content in developer toolbar?

    So in Chrome, Firefox (via Firebug), etc there is the ability to preview the rendered response of an ajax request.  So if the response comes back in HTML, the developer toolbar has the option of viewing it rendered.  This is super helpful when dealing with something like Symfony framework where 500 errors trigger a HTML error page.  When using Safari, I have to scan the ajax response's HTML for the error whereas in other browsers, it shows me the rendered content so I can just read the error. 
    Is there a way to get Safari to render the returned ajax content rather than or in addition to just showing its source?
    Thanks!
    Alan

    You might do better to ask in the Developers forum here. Sounds more liek teh type of things discussed there:
    Developer Forums

  • What happened to my View Source menu item?

    I'm pretty sure that I used to be able to view the coded contents of web pages in the past. I just tried to do this with a web page and my "View Source" selection item under the "View" menu is gone.
    Am I mistaken that Firefox used to have this feature? I have used Firefox, exclusively, for about the last 3 to 4 years, now; haven't used IE in quite a while.
    Maybe with my latest FF upgrade, that feature was deleted in the upgrade.

    Thanks. Glad to find more than ONE solution (I code "no right click" on most of the web pages I do). Tools / Web developer / Page Source works for me!

  • Endpoint Protection error: The source folder for content does not exist.

    I have a single SCCM 2012 SP1 CU4 server running on Windows Server 2012.
    I have been using this for a little more than a month for Endpoint Protection and Windows Updates.
    I just recently started seeing that my Endpoint Deployment Package has Failed.  I click on "Content Status" and select the Endpoint package (which again shows Failed).  I click on "View Status" and I get this
    message in the "Error" tab:
    The source folder for content does not exist.
    The Asset Details point to the exact location  that does not exist:
    The source directory "\\<server>\updates\endpoint\6bd81fde-3a3f-4aa9-bf70-ba007891ca68" for package "<package>" does not exist. 
    I didn't change anything related to this, and that directory path (\\server\updates\endpoint) is
    shared and is populated with a lot of other folders. 
    Is this possibly just a bad update file?  Should I manually create that sub-folder that it says is missing?
    Any help would be great!  Thanks!

    Thanks for the quick reply, Torsten.  (I often forget which logs to check for certain things).
    There are six lines (3 errors -- in italics below) in the log around the same time frame.  They read:
    The source directory \\sccm-corp\updates\endpoint\6bd81fde-3a3f-4aa9-bf70-ba007891ca68 doesn't exist or the SMS service cannot access it, Win32 last error = 2    SMS_DISTRIBUTION_MANAGER    5/27/2014 11:54:46 AM  
     5920 (0x1720)
    STATMSG: ID=2306 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SCCM-Corp.pdcarea.lcl SITE=PDC PID=6008 TID=5920 GMTDATE=Tue May 27 16:54:46.962 2014 ISTR0="\\sccm-corp\updates\endpoint\6bd81fde-3a3f-4aa9-bf70-ba007891ca68" ISTR1="PDC00063"
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="PDC00063"    SMS_DISTRIBUTION_MANAGER    5/27/2014 11:54:46 AM    5920 (0x1720)
    Failed to take snapshot of one or more contents in package PDC00063    SMS_DISTRIBUTION_MANAGER    5/27/2014 11:54:46 AM    5920 (0x1720)
    CDistributionSrcSQL::UpdateAvailableVersion PackageID=PDC00063, Version=10, Status=2302    SMS_DISTRIBUTION_MANAGER    5/27/2014 11:54:46 AM    5920 (0x1720)
    STATMSG: ID=2302 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SCCM-Corp.pdcarea.lcl SITE=PDC PID=6008 TID=5920 GMTDATE=Tue May 27 16:54:46.990 2014 ISTR0="Endpoint Protection Definition Updates" ISTR1="PDC00063" ISTR2="" ISTR3=""
    ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="PDC00063"    SMS_DISTRIBUTION_MANAGER    5/27/2014 11:54:46 AM    5920 (0x1720)
    Failed to process package PDC00063 after 33 retries, will retry 67 more times    SMS_DISTRIBUTION_MANAGER    5/27/2014 11:54:47 AM    5920 (0x1720)

  • How can I view source on an app (preferably before installing)?

    An app for Firefox OS is programmed in HTML and JavaScript. So, just like a webpage, I should be able to View Source, right? That's always been the empowering Mozilla approach, as far as I understand. View Source is great for learning by example (just like how I originally learnt HTML!), but also for open audit. Ideally I'd like the opportunity to look over the code before I agree to install.
    If I go to https://marketplace.firefox.com/app/astroalpaca using my desktop browser, or if I find it in Marketplace using my ZTE Open, I can't see a View Source option anywhere. Where is it please?
    I can understand not showing it on a small phone screen, but there's no reason why someone visiting Marketplace with a laptop/desktop web browser shouldn't download and inspect the app package.
    If it doesn't exist (I'm starting to suspect this is the case), then where's my empowerment? What makes these fxos apps any less of an impenetrable consumer black box than android apps?

    Wow OK. So for future reference, "View Source" (Ctrl+u) doesn't do it, since I guess the button comes from JS. So instead you need to:
    * Open the inspector (Ctrl+shift+c)
    * Click on the install button (to inspect it, not to install it).
    * In the panel you get to see the source code for the button which includes the URL to the .webapp file (it might be hosted separately as in the example, or on the marketplace)
    * You can copy and paste that URL and then open that file to see where the app content is delivered from, and then if you follow those paths you can view the HTML, JS etc.
    So that's really quite buried, but I'm glad that at least it's technically possible! Not quite as easy as Ctrl-U ;)

  • View an ActiveX object contents

    Hi,
    Is it possible to view an ActiveX object contents ? I'm working on MGMotor Control ActiveX object and I wanted to know how it's working inside.
    Thank you.
    Che57

    If the question is, can you see the code in it? The answer is no. ActiveX objects are compiled so the source code is no longer available. If the question is can you see the properties associated with the object, the answer it yes, and you would use a standard property node to get at them.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • View Source missing - Mountain Lion upgrade

    I used to be able to right click a webpage in Safari and I can click View Source.  But I recently installed Mountain Lion and the "View Source" doesn't show up anymore.  It's not under the View menu either.  How can I add it back in?

    Full Source view in a seperate window is no longer possible with Safari 6. This function was removed and replaced with Page Source View, which is not the same. The new view is shared with the Inspect Element and cannot be called up at the same time. If you call up Page Source, it replaces the Inspect Element. I always have the page source AND the Inspect Element up at the same time, and this is no longer possible. You will have to open two windows open to get this done. It's not always possible to open two identical windows to a certain webpage, as mostly I am a developer and the page content changes with each reload. Hence the inspect element and page source will not operate on an identical window as it used to do. Also the View Source Window used a seperate window, unincumbered by any additional sidebars, just showing the raw source color coded. I wish Apple would bring this function back (and I have already submitted a feature request).

  • View source shows not only HTML but also external JS and displays it in an unorganized format, how come?

    Whenever I use the view source feature, the pane does not only show the HTML, but it also pastes in all Javascripts which are in an external file. On top of that all the indents are gone making it pretty much unreadable.
    I have this issue with every single site I try to view the source of. I turned of and uninstalled all add-ons. Started up in safe mode. But nothing seems to work. I had this in firefox 3.6 and upgraded to 4 hoping it would solve it but it doesn't.

    If you have the problem in three different browsers, it suggests something "upstream" or shared at the system level, since each has a separate cache and Safari/Chrome use Webkit, not Gecko, as their rendering engine.
    Is it possible that all the source views use a font which has become corrupted? In Firefox you could test that theory by changing your Monospace font here:
    Edit > Preferences > Content > (Fonts & Colors section) Advanced button
    If that doesn't help, do you browse through a proxy server either on your Mac, your network, or out on the internet? Sometimes a security scanner has an embedded proxy server.

  • How can I edit an html file in Firefox using View Source?

    I have created an html webpage and saved it to my pc. I can't edit the html file in firefox when I right click on the page and select "View Source". I can view the code but I can't edit it. I can do this in IE9.
    I thought I was able to do this before in Firefox.
    Did my settings change somewhere that I can no longer do this?
    Do I have to have something checked in the Web Developer extensions for it to work?
    I'm using Firefox 24.0
    Thank you for any help with this. :)

    The View Source window in Firefox cannot be used to change computer codes. Nor can the Web Developer tools.
    Sorry for any inconvenience.
    I suggest using Programmer's Notepad.

  • HTML code displays on one line in browser view source

    Hi,
    In Dreamweaver, my HTML code displays returns, spaces, etc. However, in the view source option in a browser (Firefox in particular), all the code is displayed on one single line. I only found about this because I was having problems with my Google Ads not displaying. (A Google customer service person helped me to find a workaround for this since I still haven't figured how to get my code to display correctly.) So I have gone to Preferences in DW and changed my Code Format Line Break type. The result is the same with each of the three options: the code is all on one line when you check it under view source in a browser. (The server is Linux.)
    Does anyone know how to fix this? Also, I think I know how this happened in the first place. I copied my code to TextEdit for a quick backup the other day, and then I pasted it back to DW. Bad idea? Is the only way to get the code back to normal to re-write it in a new HTML file in DW?

    Pssh. Problem solved, but I'm not quite sure how. I did go back and try to clean up some redundant CSS and other things, but the HTML/CSS validator still shows that I have this one invalid <header> tag (www.nextmontenegro.com), but since that was written as part of the DW template, I just left it. Weird. Anyway, the code flows down the page now.
    Thanks for the quick replies and helpful hints:-)

  • Safari 5.1.7 to 6.0.1 (Missing "view source")

    Safari 5.1.7 you can "view source".  In Safari 6.0 this appears to have disappeared.  Is it anywhere else, or has it really gone?.

    "View source" is not available in Safari 6.
    But "Show Page Source" is available.
    Safari > Preferences > Advanced
    Enable "Show Develop menu in menu bar".
    Develop menu > Show Page Source

  • How can I turn off word wrap in the View Source output?

    I'm trying to extract HTML from Word and one way to do that is to save the Word file as a .htm file and then View Source in a browser and copy that. But the words are wrapped in the View Source file. I want each paragraph to be all on one line. Is there a setting for the View Source feature that will turn off word wrap?
    Once I have that done and copied into a plain text editor, I will use Search>Replace to get rid of all the stuff Word puts there and just end up with the simple paragraph tags at the end of each paragraph, all on one line.

    You can disable wrapping and syntax highlighting in the View menu in the Edit > View Source window.

  • View source doesn't work / is broken / not working in 6.1.0.1

    View source in IE6 works on the guest users mypage when they first land on the site and on the login page, but any other community page once you login - it breaks.
    I'm having to use the 'view partial source' in my right click context menu as offered once you install 'webdevaccess.exe' (a developer plugin unsupported but offered by Microsoft - google it) to see any source. I must admit, I just ctrl-a then 'view partial source' and I get everything but the initial <html> and <head> tags pretty much - but it's a pain.
    Has anyone else seen this behavior and is there a fix?

    It appears that this is indeed a problem with certain versions of IE6 while using server-side compression for all portal pages (a new feature on ALI 6.1 that is enabled by default).
    The Release Notes actually contain two known issues related to this:
    - Some versions of IE6 on Windows 2000 have a bug where they do not render compressed pages properly. End users should upgrade to the latest version of IE6 if compression is enabled. (Issue #54230)
    - You may experience issues downloading Excel spreadsheets from Analytics reports using the Microsoft IE6 browser. (Issue #54827)
    This problem is directly related to one or more of the following bugs in IE6 SP1 resolved by the KB articles listed below. Please require users to either upgrade their browsers by installing IE6 SP2 or patching with the specific downloads listed in the KB articles.
    http://support.microsoft.com/kb/871205
    http://www.microsoft.com/downloads/details.aspx?FamilyID=0c7055c3-0bec-4042-b6aa-3443739c66ab&DisplayLang=en
    http://support.microsoft.com/?kbid=823386
    The other workaround is to specifically disable compression for Excel spreadsheets in the httpcompression.xml setting file, located in %PT_HOME%/settings/portal.
    I upgraded to MSIE 7 and did not encounter the problem. I also confirmed that the problem does not occur with IE6 when HTTP compression is disabled. This is now controlled by a new httpcompression.xml file.
    John

  • To view the flash technology content in this pdf file please install this version of flash player

    I am getting an error while opening a pdf file I am using Windows 7 with adobe 10.1.7 installed error message " to view the flash technology content in this pdf file please install this version of flash player"

    Both ActiveX and plugin?  What versions?

  • Stacked canvas view placed on the content canvas

    Hi to all,
    i am developed a one form ,i.e placed the stacked canvas view on the content convas.
    i create a two data block's with same table.
    one data block for content canvas and one for stacked canvas.
    in the content canvas i taken two fileds with scroll bar and remaining fields placed on the stacked canvas.
    these stacked canvas view put on the content canvas.it dispalying and
    executed succesfully.
    here i am getting one problem i am displying the 10 records at a time in both canvases.my requirment is placed on the
    cursor on the content canvas particular record scroll down then automatically show the same record details in stacked canvas and
    content canvas scroll bar is changed automatically stacked canvas scroll bar is changed.
    any one help me.........

    {quotei create a two data block's with same table.
    one data block for content canvas and one for stacked canvas.{quote}
    This is not necessary. Just create one data block and then assign the block items to your Content and Stacked canvases. You can display items in a data block on different canvases. By doing this, there is no need to write code to synchronize the records because they are part of the same data block so they will automatically scroll as you navigate through your records.
    Craig...

Maybe you are looking for

  • Big Bang Trinergy - Freezes on boot & randomly

    Hi, Got a Big Bang Trinergy (BIOS 1.40) and been having problems since the first day I installed it. It freezes several times in the boot-sequence. Manual restart is needed and several attempts are made before it successfully launches and loads Windo

  • Pass a particular value  in the function module.

    Hi Gurus! I have a function module READ_HAUPTBUCH_TEXT , here in the importing table KONTENPLAN like ska1-ktopl. But I need to pass a value as ZNOA for KONTENPLAN while calling the function which is maintained in the db, but it is always picking up t

  • Excite Pro - Battery Status Indicator at 0%

    Battery status indicator is stuck at 0% - battery holds charge ok just don't know what it is. I presume the battery stats file is corrupted - is the only way to fix it a factory reset? Calibration either needs root - not possible or 60% charge - won'

  • Apache 2.0.53 with proxy plug-in adds characters to static files

    When delivering a javascript (.js) file that is packaged within the WAR deployed on the WebLogic 8.1, it will deliver correctly when going directly to the AppServer port. However, when requesting this same file trhough the Apache web server and proxy

  • LSMW How to compare projects from 2 diffrent systeme ?

    Hello all, I need to know how to compare all the lsmw object from one systeme to another systeme, ex : form D01 (4.6) to DC1 ECC more information : this is the table which contain all information about lsmw : /SAPDMC/LSOINP thanks