Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > loading html pages dynamically through javascript

Reply
Thread Tools

loading html pages dynamically through javascript

 
 
isha.mackker@gmail.com
Guest
Posts: n/a
 
      06-23-2006
How can html files be loaded dynamically through javascript? Can and
how a link , which may be in a third party web page, or a bookmark
button can be programmed in javascript to load another web page?
any reply will be highly appritiated
Thanks and Regards,
Isha.

 
Reply With Quote
 
 
 
 
RobG
Guest
Posts: n/a
 
      06-23-2006
wrote:
> How can html files be loaded dynamically through javascript? Can and


<input type="button" value="Go to Google..."
onclick="location.href='http://www.google.com';">

but isn't that what A elements are for? You can use the target
attribute to load the document in a frame or iframe - no script required.


> how a link , which may be in a third party web page, or a bookmark
> button can be programmed in javascript to load another web page?


Scripts can't, with default security settings, tamper with pages from
another domain.


> any reply will be highly appritiated


*Any* reply?


--
Rob
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically Loading an XSLT Transform Inside an HTML DIV? pbd22 XML 0 06-29-2007 09:03 PM
About loading html pages already loaded 418928@cepsz.unizar.es HTML 3 02-12-2007 07:43 AM
Dynamically loading external javascript files. ozzy.osborn@gmail.com Javascript 1 04-14-2006 09:42 PM
Image loading using javascript. Handling timeouts and parrallel loading under IE zborisau@gmail.com Javascript 4 08-28-2005 02:02 PM
** Dynamically writing html/javascript from a javascript function ** Robby Bankston Javascript 7 06-17-2005 08:23 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57