What is JavaScript?
JavaScript, also known as JS, has been around for a long time.
We usually use this to control a browser, make a cookie, and even use an 'if' statement, alerts, comfirms, promts, and alot more.
Example:
That will create a popup with the word 'hi'...Code:<script language="JavaScript"> alert('hi') </script>
JavaScript could be harmful.
Sense they make cookies, they can view files on your computer.
Tracking_Cookies are okay. Usually found on:
roblox,
myspace,
and other websites that you can 'log in' to.
Web Browsers have not blocked cookies, unless you set it to.
Blocking cookies can be bad, but also good.
JavaScript, as I said could also be used to controll browsers;
That will close the window, unless you have JavaScript disabled on your browser.Code:<a href="#" onclick="javascript:closeWindow()">
Thats the JavaScript tutorial.
Thanks!
Bannana97
HerbertsWorld Corporation
Instead of this:
I usually do this:Code:<script language="JavaScript">
I don't know what difference it makes. In future please post tutorials in the Tutorials section.Code:<script type="text/javascript">
Last edited by Xav; 02-03-2009 at 09:03 AM. Reason: Formatting
According to w3schools, "type", "src", "charset" and "defer" are the only valid attributes to the <script> tag.
I consider this posting more of a spam rather of a good posting, especially, considering the other posting in this category.
i think he is spamming for his corporate
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
www.amrosama.com | the unholy methods of javascriptCode:eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
javescript
Even if this was a useful tutorial (which it really isn't), it doesn't flow very well and it's just random facts that aren't explained very well. Yeah, it's just spam for the corp...![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks