What can a JavaScript do?
来源:互联网 发布:plc语言可以编程单片机 编辑:程序博客网 时间:2024/05/17 19:18
- JavaScript gives HTML designers a programming tool - HTML authors are normally not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pages
- JavaScript can put dynamic text into an HTML page - A JavaScript statement like this: document.write("<h1>" + name + "</h1>") can write a variable text into an HTML page
- JavaScript can react to events - A JavaScript can be set to execute when something happens, like when a page has finished loading or when a user clicks on an HTML element
- JavaScript can read and write HTML elements - A JavaScript can read and change the content of an HTML element
- JavaScript can be used to validate data - A JavaScript can be used to validate form data before it is submitted to a server. This saves the server from extra processing
- JavaScript can be used to detect the visitor's browser - A JavaScript can be used to detect the visitor's browser, and - depending on the browser - load another page specifically designed for that browser
- JavaScript can be used to create cookies - A JavaScript can be used to store and retrieve information on the visitor's computer
Source link: http://www.w3schools.com/js/default.asp
- What can a JavaScript do?
- 材料网站 What can a JavaScript Do?
- What can we do?
- what can i do?
- what can i do
- what python can do
- What we can do 专题
- openstack!what can we do ?
- 1.2. What Can CloudStack Do?
- What does a ScrumMaster do?
- What a perfect team do?
- What's a doctype do?
- what we can do after 35, programmers
- What's a J2EE Dev To Do?
- What a fresher must do in SAP
- What we do with a bug report?
- What does [B >: A] do in Scala?
- The VS7 Debugger doesn’t work. What can I do?
- myeclipse8 svn插件安装
- 让CAS支持客户端自定义登陆页面
- asp.net 中的 URL重写
- 求职网站
- dirichlet分布
- What can a JavaScript do?
- 堆和栈
- 哎!MFC真头疼
- generative vs discriminative
- 鼠标样式
- 12.正则表达式:反向引用
- plm(产品生命周期管理)
- 想学好Photoshop先把这些记住了吧!
- Linux下的段错误产生的原因及调试方法