Hi,
Can anybody help me to load a page without frameset and iframes.
Thanx.
Hi,
Can anybody help me to load a page without frameset and iframes.
Thanx.
The script:
<script type="text/javascript">
function change(what, content) {
document.getElementById(what).innerHTML=content;
}
</script>
and this to link:
<a href="#" onclick="change('mypage', 'This is new content of page.')">click!</a>
and header:
<span id="mypage">This is old content of page.</span>
Last edited by Iiro; 12-19-2005 at 02:17 PM.
What do you mean by "load a page?" It involves Javascript, but have you seen the AJAX Includes Script here at DD?
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks