JavaScript: Difference between revisions

From HaFrWiki42
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
Always I can not find a pleasant and good reference/example of JavaScript code <ref>[http://www.javascriptkit.com/jsref/index.shtml JavaScriptKit], Index, Tutorials and Reference. This is a very good start.</ref>
Always I can not find a pleasant and good reference/example of JavaScript code <ref>[http://www.javascriptkit.com/jsref/index.shtml JavaScriptKit], Index, Tutorials and Reference. This is a very good start.</ref>, but constant searching helps <ref>[http://bonsaiden.github.io/JavaScript-Garden Bonsai Garden], Javascript Examples, Best practices and tutorials.</ref>.


== Cookies ==
== Cookies ==

Revision as of 19:56, 24 July 2013

Always I can not find a pleasant and good reference/example of JavaScript code [1], but constant searching helps [2].

Cookies

See for a description on how to cope with JavaScript Cookies

FAQ

Redirector

use the lcation object. An example:

<html>
<title>CodeAve.com (JavaScript: Current Page URL)</title>
<body bgcolor="#FFFFFF">
...
<script language="JavaScript">
<!-- 
  document.write (location.href);
  document.write ("<p><a href='" +location.href + "'>Link To Current Page</a></p>");
// -->
</script>
...
</body>
</html>

See also

Reference

top

  1. JavaScriptKit, Index, Tutorials and Reference. This is a very good start.
  2. Bonsai Garden, Javascript Examples, Best practices and tutorials.