answersLogoWhite

0

Not easily, browsers block that kind of thing deliberately.

Try an iframe, using Javascript to change the source as needed. Some browsers will give a pop-up asking whether you want to allow this, others will require that you change the browser security settings.

The easiest way to include content from other sites is to forgo the Javascript and do it on the server.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you add snow flakes in a site?

You can use the following JavaScript to add Snowflakes widget in any site / blog .


What is webpage format?

HTML + CSS/JAVASCRIPT/FLASH/PHP . The page is coded in HTML code, and objects/interactions/stylesheet if any is runned at the beginning of the site.


What is Javascript Redirect used for?

Javascript is a scripting language commonly used on websites to accomplish some tasks through the browser. The redirect function in Javascript allows the webpage to tell the browser to visit another page, typically as the result of some action that triggered a script, or on loading. This can be used for legitimate purposes, such as redirecting multiple webpage entries to actually connect to one single document where the information is stored. This can also be used for illegitimate purposes, such as through an ad banner that hijacks the browser, sending it to another site to either present an ad or attempt to infect through virus.


Can a static site contain JavaScript?

Yes. JavaScript can be included inline or via script tag's src attribute (as long as the browser can find the file at the specified location.)


Can java script show comparisons and logic in the site?

Yes. JavaScript is a real computer language, with all the comparison operators and logical structures normally available.


Where can one learn javascript?

There are many places where one can learn JavaScript. One can go to the Code Avengers website or one can go to the Codeacademy site or one can go to the Code School site.


What is the best site to learn to build a webpage?

The best site to learn how to make a webpage is lifehacker.com. They have the most complete and comprehensive guide to building webpages that you can find online.


How do you make a free classifieds webpage or site?

go on wix


What is the correct spelling of Web site?

you have spelt it correctly


What is the importance of javascript?

JavaScript can be used to add effects on the pages of web site, creating simple animations with the elements in the page. It is used to improve the page design and functionality.


You are not able to open a webpage that previously you had no trouble with?

Try to access the site with another browser like opera,firefox or safari.If it opens then you know it is a browser issue.If it does not then you know either it is a site issue or an issue with your computer or isp


How and where to get a custom CSS code?

There are a number of places to find them. They are so numerous that the way I would go about it is the search engine of your choice and do the search on CSS templates. Also, if you use IE, go to a site and save the site. When the Save menu pops up, be sure that it saves as Webpage complete. That will save the page and there will be a directory of any graphics, stylesheets and JavaScript that the HTML uses.