Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/87.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
此脚本是否仅用javascript和html编写?_Javascript_Html - Fatal编程技术网

此脚本是否仅用javascript和html编写?

此脚本是否仅用javascript和html编写?,javascript,html,Javascript,Html,我没有这个脚本,但我很想知道它是否是用javascript和html以外的语言编写的 有什么地方可以写这样的脚本吗?如果有,你能推荐一些网站吗?非常感谢 函数登录{ var username=$'loginusername'.val; var password=$'loginpassword'.val; document.getElementByIdlogindiv.style.display=none; document.getElementByIdloginimage.style.disp

我没有这个脚本,但我很想知道它是否是用javascript和html以外的语言编写的

有什么地方可以写这样的脚本吗?如果有,你能推荐一些网站吗?非常感谢

函数登录{ var username=$'loginusername'.val; var password=$'loginpassword'.val; document.getElementByIdlogindiv.style.display=none; document.getElementByIdloginimage.style.display=inline; var-xmlhttp; 如果window.XMLHttpRequest{//IE7+、Firefox、Chrome、Opera、Safari的代码 xmlhttp=新的XMLHttpRequest; }else{//IE6、IE5的代码 xmlhttp=新的ActiveXObjectMicrosoft.xmlhttp; } xmlhttp.onreadystatechange=函数{ 如果xmlhttp.readyState==4&&xmlhttp.status==200{ document.getElementByIdlogindiv.innerHTML=xmlhttp.responseText; document.getElementByIdloginimage.style.display=none; document.getElementByIdlogindiv.style.display=inline; 如果xmlhttp.responseText.searchRedirecting!=-1{ 设置间隔函数{ window.location=index.php }, 3000; } } } xmlhttp.openPOST,ajax/login.php?type=login,true; xmlhttp.setRequestHeaderContent-type,application/x-www-form-urlencoded; xmlhttp.sendusername=+username+&password=+password; } Chither.com最好的Slither和Agar.io机器人服务 功能I、s、o、g、r、a、m{ i['GoogleAnalyticsObject']=r; i[r]=i[r]| |函数{ i[r].q=i[r].q | |[]推式参数 },i[r].l=1*新日期; a=s.createElemento, m=s.getElementsByTagNameo[0]; a、 异步=1; a、 src=g; m、 parentNode.insertBeforea,m }窗口,文档,'脚本','https://www.google-analytics.com/analytics.js","ga",; ga‘创建’、‘UA-77344643-1’、‘自动’; ga'send'、'pageview'; window.cookieconsent\u选项={ 信息:本网站使用cookies确保您在我们的网站上获得最佳体验, 解雇:明白了!, learnMore:更多信息, 链接:, 主题:黑底 }; -> -> CHITHER.COM-> 欢迎访问Chither.com-> 登录

登录

是否没有帐户

创建帐户

©版权所有Chither.com 2017

$signinfo.validate{ 规则:{ 登录:必需, 密码:必填 }, 信息:{ 名字:请输入您的登录名, 姓氏:请输入您的密码 } };
是的,这个脚本只使用HTML和Javascript编写,但它使用多个插件和框架。这是由link href和script标记定义的。例如,bootstrap是一个前端框架,而Jquery是一个Javascript框架

它确实引用了其他文件,例如PHPe.g。php和CSS stylesE.g。在link href=css/style.css rel=stylesheet中。如果没有这些CSS文件,您的站点将不会具有相同的外观和功能


编写HTML最简单的方法是在记事本中,并将其安全设置为.HTML。然后,您可以使用首选浏览器打开它们。对于开始辅导课,我推荐W3学校。例如,关于Js:或html:

的教程是编写这些内容的地方吗?那是一个。。。文本编辑器。还是我误解了?是的。它还使用了一个名为jQuery的javascript库和大量插件,但最终它们都只是javascript。它还包括一些CSS文件。正如c0dekid所指出的,由于它使用Ajax并引用php files.JavaScript、一些核心JavaScript和带有Ajax请求的JavaScript(如果你指的是在Ajax中调用的脚本),所以服务器端也有一些东西在进行?然后是的,他们使用PHP来处理ajax请求。