您的位置:首页 > Web前端 > JavaScript

javascript in html

2012-09-10 00:39 267 查看
You place JavaScript within the <head> or <body> section (or both) of an HTML document and you can place multiple scripts on a given page.
It's wired to put a program in another language, but as the JavaScript is a language useful, then I have to be known of some thing of it. I will try to used to it.HTML document, javascript is using these element to manage the whole web page.
If your JavaScript program attempts to work with some elements of the HTML document before those elements have been loaded, the program will
fail. Then you must write the javascript in position somewhere the elements have loaded themselves.One especially good method for solving this problem is with the jQuery ready() function.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: