<HEAD>
<SCRIPT>
function fnNAF(){
window.external.NavigateAndFind(
"http://www.domain.ext/path/file.htm",
oSearchText.options[oSearchText.selectedIndex].text,"");
}
</SCRIPT>
</HEAD>
<BODY>
<SELECT id=oSearchText onchange="fnNAF()">
<OPTION>Persnickety
<OPTION>Seattle rain
<OPTION;> ...
</SELECT>
</BODY>
<SCRIPT>
function fnNAF(){
window.external.NavigateAndFind(
"http://www.domain.ext/path/file.htm",
oSearchText.options[oSearchText.selectedIndex].text,"");
}
</SCRIPT>
</HEAD>
<BODY>
<SELECT id=oSearchText onchange="fnNAF()">
<OPTION>Persnickety
<OPTION>Seattle rain
<OPTION;> ...
</SELECT>
</BODY>
解决方案 »
- extjs中怎么打开下载地址
- csdn 论坛左边的树是怎么实现的?谁给贴一段代码?感激不尽
- 请教如何实现不同版本Jquery并存
- 把这段excel录制的宏代码,转成javascript的代码?
- javascript里那个$什么用?是怎么样定义的,给我个例子就可以了。谢谢!
- eval的问题
- 关于 window.showModalDialog 的奇怪问题
- 求:键盘响应翻页的代码
- 如何把Excel表格转换成html页面,并且Excel原有的筛选功能在html页面上还是可以实现的
- ■■高分请问:jsp页面如何读取外部文件(.txt),带有'tab'或','等分隔符的数据,以表格显示出来呢?■■
- **********大侠进来看看***********
- 我怎么取得到服务器的时间,日期,星期呢?
if the page you load is not in your own domain, you cant change its content and you
can use xmlhttp parse the source code, then do what you want.second
the page you load in your own domain, the you can do it by the follow wayvar str = window.frames['iframeName'].document.body.innerHTML;
str = str.replace("keyword", "<span style='color:red'>keyword</span>");
window.frames['iframeName'].document.body.innerHTML = str;