View Full Version : Using Javascript to load a page into a CSS layer

03-25-2005, 07:35 AM
OK, I have a div layer and I want to be able to have a javascript function that loads an external HTML file into it. Is this possible using javascript?

Philip M
03-25-2005, 08:34 AM

03-25-2005, 09:43 AM
Can I get that to load the html into a div container, though? Sorry, I'm a little new to Javascript and am not familiar with all the specific members.

03-25-2005, 10:39 AM
yes and no, you will have to use innerHTML or possibly just use php includes but if you want to put it in a div then y not just an iframe? or just hard code the content into the div?