watagal Posted May 8, 2006 Share Posted May 8, 2006 GreetingsWith Dan's help, I've come to the conclusion that frames do not play well. Therefore, I'm converting my framesets to a single table with <div> statements defining the 'frame' areas.Now I want to load external (file) HTML code in the <div> area by setting the innerHTML in JS. Should I approach this by parsing the HTML file, forming a large string, and then set the innerHTML?As always, Thanks Link to comment Share on other sites More sharing options...
aspnetguy Posted May 8, 2006 Share Posted May 8, 2006 You would need a server side language to get the contents of a server-side file. So you would need to use AJAX Link to comment Share on other sites More sharing options...
Little Goat Posted May 8, 2006 Share Posted May 8, 2006 ok, this is the third time I have posted the same thing in a week! anyway, here it is; AJAX includes: I found this yesterday:http://www.dynamicdrive.com/dynamicindex17/ajaxincludes.htmLG<{POST_SNAPBACK}> Edit: ok, a little more than a week. Link to comment Share on other sites More sharing options...
watagal Posted May 9, 2006 Author Share Posted May 9, 2006 ok, this is the third time I have posted the same thing in a week! anyway, here it is; AJAX includes:<{POST_SNAPBACK}> That's the ticket! Third time is a charm. Works great - thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now