如何在div中加载页面? [英] How do I load a page in a div?

查看:75
本文介绍了如何在div中加载页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被告知使用Div而不是iframe是前进的方式,所以我使用的是我的横幅和主体中的帧。如何将index.html加载到我的div中?

I've been told that using Divs instead of iframes is the way forward, so I'm using frames from my banner and main body. How do I load my index.html into my div?

推荐答案

你试过jquery的.load()吗?使用服务器端技术,您可以轻松完成此任务。

did u try .load() of jquery. with server side technology you can do this easily.

这篇关于如何在div中加载页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆