如何从html页面激活javascript文件 [英] how to activate javascript file from html page
问题描述
大家好,
html页面(见下面的项目a)正在调用javascript(下面的项目b),但是因为页面显示为空白而无法工作。不确定调用方法是否错误(默认目录方面)或javascript错误。
使用下面的127.0.0.1/htmlscript.html来调用嵌入在java中的java脚本以下html脚本。
我使用apache服务器和apache服务器有错误304(未修改)
过去1尝试了很多方法一周...
不确定哪里出错了?
谢谢和最好的Rgds,
Andrew
a)html页面
=========
您可以找到答案这里 ...在JavaScript论坛中。
问候
您可以在JavaScript论坛中找到答案此处 .... br />
关于
并且需要一个doctype(如果你打算支持任何版本的Internet Explorer)。
嗨先生,
阅读你给的java网页链接,
下面是这样的吗?尝试了很多次和不同的方式,使用HTML来激活JavaScript,它没有用。并使用html来激活嵌入在html页面中的java,但是无法工作。
谢谢你和最好的Rgds,
Andrew
HTML
====
展开 | 选择 | Wrap | 行号
Hi All,
The html page(see item a below) is calling javascript(item b below), but cant work as the page show blank. Not sure if the method of calling is wrong(in terms of default directory) or javascript is wrong.
using 127.0.0.1/htmlscript.html below to call the java script embedded in the following html script.
I am using apache server and apache server have error 304(not modified)
Been trying many methods for past 1 week...
Not sure where went wrong?
Thanks and Best Rgds,
Andrew
a) html page
=========
Expand|Select|Wrap|Line Numbers解决方案you may find your answer here ... in the JavaScript forum.
regards
you may find your answer here ... in the JavaScript forum.
regardsAnd a doctype will be needed (if you intend to support any version of Internet Explorer).
Hi Sir,
Read the java weblink you gave and ,
Is it something like that below? tried many times and different ways, used html to activate javascript and it did not work. and used html to activate java embedded in html page, but cant work.
Thanks and Best Rgds,
Andrew
HTML
====
Expand|Select|Wrap|Line Numbers
这篇关于如何从html页面激活javascript文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆