如何在HTML中激活javascript - 需要安装什么? [英] how to actiavate javascript in html - need to install anything?

查看:161
本文介绍了如何在HTML中激活javascript - 需要安装什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我在Internet Explorer 7中启用了Javascripting,我一直在用perl编写脚本。


我现在不能做的是从主html页面弹出小html框架中的图像....主html的结果显示为空白。任何想法?



谢谢和最好的Rgds,

Andrew



a) html脚本 - 不确定目录perl是否正确,放入perl中的cgi-bin目录但不能工作,所以放入d盘...

========== ====================

Hi all,

I have enabled Javascripting in internet explorer 7, and I have been writing script in perl.

The thing I cant do now is to pop up image in small html frame from main html page.... The result of the main html showed blank. Any idea?


Thanks and Best Rgds,
Andrew


a) html script - not sure if the directory perl is correct, put into cgi-bin directory in perl but cant work, so put into d drive...
==============================

< span class =codeLinkonclick =Blur(this,this.parentNode.parentNode,getChildren(this),true);>展开 | 选择 | Wrap | 行号

推荐答案

source属性需要是URL或URI。你不能使用本地文件系统路径。
The source attribute needs to be a URL or URI. You can not use the local file system path.


嗨先生,


谢谢!我使用了URL,仍然无法工作。


请建议,或者更确切地说,任何样本都可以参考?在此先感谢。



干杯...

Andrew
Hi Sir,

Thanks! I have used the URL, still cant work.

Kindly advise, or rather, any sample to refer to ?? Thanks in advance.


Cheers...
Andrew


是b)JavaScript文件?它应该只包含JavaScript代码,而不是HTML。
Is b) the JavaScript file? It should contain only JavaScript code, not HTML.


这篇关于如何在HTML中激活javascript - 需要安装什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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