A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Including html page to specific div (want better code)
Joined: Jul 31, 2012
Feb 01, 2013 06:43:43
Here I am facing a problem that, whenever i clicked on the menu Item of the webpage I want to include a html page in a particular
with some ID
I am trying in the following manner. But that filename as it is displaying on the page.... but not inserting...
and I found a jQuery method
It is working fine, but not with Google chrome... I cannot understand why it is not?
Any body please help me....
Thanks in Advance....
Joined: Oct 27, 2005
Feb 01, 2013 08:36:39
The only way to properly include a full HTML page inside another is to use an IFRAME. You can set its "src" attribute to the page to load.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Including html page to specific div (want better code)
dynamic Checkboxe value retrieval
Struts2 layout issue
JSP IN HTML
populating table with database values
Get Image height and width
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015