jquery 指定DIV中加载另一张页面 【在线等,急】 需要载入的页面:http://localhost/news/?ct=question&ac=reply&id=60当前页:<div id="news"></div>JQ:$("#news").click(function(){ //载入指定页面到DIV中});各位,没积分了!救助 jQuery 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 $('#news').load('http://localhost/news/?ct=question&ac=reply&id=60'); 你下载一个API好好看看,看不懂再问。 var str='<iframe src="http://localhost/news/?ct=question&ac=reply&id=60" id="linkframe" name="linkframe" width="100%" frameborder="0" scrolling="no" ></iframe>'$("#news").append(str); 可以用jqury ajax的load方法啊 $(".class").load("test.html .class"), 第一哥参数就是获取test页面,第二个是可选的,就是可以只获取test页面中指定class内容。 $('#news').load('http://localhost/news/?ct=question&ac=reply&id=60'); 怎么触发onclick 有一句话我不懂意思,关于超链接的 Extjs 加载数据小问题? 如何在JScript中调用windows media player控件的方法? 请教一个JS代码 js中嵌用asp 代码 ,怎么实现?? 怎么做到这样的功能:预先提取图片,提示用户等待 如何求一个数的倒数? 求省,市,区(县)下拉选择的JS 请问如何获得<a></a>内的内容? js循环取值计算的问题,帮忙!!! extjs中Absolute布局无法显示问题
$("#news").append(str);