JQuery :: Can't See Source (with View Source) When Loads External Html Into A Div?
Feb 23, 2011
I got some code that loads divs from other web pages into a particular div in my main page. In other words, I click on a button, and this tells jquery to load afragment of a particular page into my main page. For instance if I have 5 web pages onrock stars, I could have 5 buttons, and each button could load one rockstar's biography into a div on the main page (and replace whatever was there before). This works, and I do see the content that it loaded. But when I do 'view source' in IE, I do not see that content (the bio of the rock star). Another clue that this content is not really there, is when I try and run some code on that content. The content (from those external pages) have divs with specific names, and I try and make them into collapsible panels by running the following short function:
this happens in all browsers ( IE, FF, Chrome, and Safari [windows]) ... oddly enough it only happens when viewing on my vista or win2k3 machines. is this something added to these OS's or the result of an installed program? has anyone seen this before?
I'm having a problem with Superfish on my locahost site. I'm at a loss as to what the problem might be located, what is the solution so...I'm hoping someone here might know how to fix this.
I was looking for a way to reduce the number of SF modules on my Joomla 1.5 site by modifying my module tag to look like this: <jdoc:include type="modules" name="sf-menu" style="html"?php echo $pageclass ? $pageclass : 'default'; ?>" > That last part works well in template div tags but now I know its deadly if included in a module positon.
When I looked into view source, it was blank. I've clawed back somewhat but the menu ul still does not show up in view source. Since then I've deleted SF modules, re-installed a backup version of Joomla and put in a new SF module. The site looks OK except no menu appears, nothing in view source that isn't already in Index.php. Also my backup did not load articles, they were all "undefined" which is a minor hassle since I have these in utf-8 text files.
Is this a js or php issue? do I need a Joomla re-install or a full Joomla / server re-install? I really don't know.
Is there any way by which I can display the source of a html page using the 'view:source' command, in an iframe?? I tried using this viewer.location = "view-source:" + viewer.location.href; where viewer is an iframe. but it opens the source in a notepad.
Instead of the source getting displayed in the notepad, I would like the iframe to display the source.
I'm creating an extension on Firefox that wishes to parse the source of a page that the user is currently viewing for specific information. I've got as far as creating a simple extension with a button and when I click on it, it will show the url of the page I am currently viewing through: content.location.href. All the examples I've seen so far concerning viewing the source forces you to either use the 'view-source:' convention or the 'xmlhttprequest' method.
But these examples seems to be meant to be called within a web page and not an extension. When I cut and paste with these examples, I only get the source for the actual chrome portion of Firefox. I've tried modifying some of the examples to include 'content.document....etc' to reference what's being displayed in the browser, but it doesn't seem to work. Any sample or reference code so I can extract the page source of my current window from an extension?
I use .append() and .prepend() to automatically add content to a existing html tag with id. In IE the function is working fine but when i viewed it using view source i can't see the content. When i tried it with Chrome, i can immediately see the content. Is there something i missed out?
After lot of research I found that its impossible to disassemble the source code view in the window toolbar.. but finally I found this site that have the function that I am describing..
Start addy here: mortgagecalculators.ws / mortgage-payment-calculator . php End of addy:
The address is separated in pieces because I cant post links and don't forget to include the extension php with the dot at the end of the address but note that if you click on the back history button and then the forward. The java does not work. I get into the source looking for some java call... but nothing found related to security disable source code...
i don't know so much about jquery so just i use them with indication from their web site. so my problem is how can i use multiple source of jquery without one source stop the other,and that what i need:
i am looking for a tutorial or example file i can download that features the following mouseover effect: [URL] i have tried googling for tutorials and have tried to view source on the above page but when pasted into dreamweaver i cannot seem to get the effect to work.