<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.iwillfearnoevil.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Javascript_Examples</id>
	<title>Javascript Examples - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.iwillfearnoevil.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Javascript_Examples"/>
	<link rel="alternate" type="text/html" href="https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Javascript_Examples&amp;action=history"/>
	<updated>2026-05-08T15:46:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Javascript_Examples&amp;diff=375&amp;oldid=prev</id>
		<title>Chubbard: Chubbard moved page Javascript to Javascript Examples</title>
		<link rel="alternate" type="text/html" href="https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Javascript_Examples&amp;diff=375&amp;oldid=prev"/>
		<updated>2023-07-05T18:28:17Z</updated>

		<summary type="html">&lt;p&gt;Chubbard moved page &lt;a href=&quot;/mediawiki/index.php?title=Javascript&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Javascript (page does not exist)&quot;&gt;Javascript&lt;/a&gt; to &lt;a href=&quot;/mediawiki/index.php?title=Javascript_Examples&quot; title=&quot;Javascript Examples&quot;&gt;Javascript Examples&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:28, 5 July 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff::1.12:old-373:rev-375 --&gt;
&lt;/table&gt;</summary>
		<author><name>Chubbard</name></author>
	</entry>
	<entry>
		<id>https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Javascript_Examples&amp;diff=373&amp;oldid=prev</id>
		<title>Chubbard: Created page with &quot;===I HATE JavaScript=== Did I mention I hate it?  Well that does not matter.  It is used all over, and I am going to have to learn to deal with it..  Here are some examples and notes that can be integrated and not cause troubles in most applications  == JS clock on page == Found example at [https://stackoverflow.com/questions/40959133/display-clock-inside-the-html-page-or-div display-clock-inside-the-html-page-or-div] &lt;pre&gt; &lt;script&gt; function startTime() {     var today =...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Javascript_Examples&amp;diff=373&amp;oldid=prev"/>
		<updated>2023-07-05T18:24:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===I HATE JavaScript=== Did I mention I hate it?  Well that does not matter.  It is used all over, and I am going to have to learn to deal with it..  Here are some examples and notes that can be integrated and not cause troubles in most applications  == JS clock on page == Found example at [https://stackoverflow.com/questions/40959133/display-clock-inside-the-html-page-or-div display-clock-inside-the-html-page-or-div] &amp;lt;pre&amp;gt; &amp;lt;script&amp;gt; function startTime() {     var today =...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===I HATE JavaScript===&lt;br /&gt;
Did I mention I hate it?  Well that does not matter.  It is used all over, and I am going to have to learn to deal with it..  Here are some examples and notes that can be integrated and not cause troubles in most applications&lt;br /&gt;
&lt;br /&gt;
== JS clock on page ==&lt;br /&gt;
Found example at [https://stackoverflow.com/questions/40959133/display-clock-inside-the-html-page-or-div display-clock-inside-the-html-page-or-div]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
function startTime() {&lt;br /&gt;
    var today = new Date();&lt;br /&gt;
    var h = today.getHours();&lt;br /&gt;
    var m = today.getMinutes();&lt;br /&gt;
    var s = today.getSeconds();&lt;br /&gt;
    m = checkTime(m);&lt;br /&gt;
    s = checkTime(s);&lt;br /&gt;
    document.getElementById('txt').innerHTML =&lt;br /&gt;
    h + &amp;quot;:&amp;quot; + m + &amp;quot;:&amp;quot; + s;&lt;br /&gt;
    var t = setTimeout(startTime, 500);&lt;br /&gt;
}&lt;br /&gt;
function checkTime(i) {&lt;br /&gt;
    if (i &amp;lt; 10) {i = &amp;quot;0&amp;quot; + i};  // add zero in front of numbers &amp;lt; 10&lt;br /&gt;
    return i;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;body onload=&amp;quot;startTime()&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;txt&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:javascript]]&lt;/div&gt;</summary>
		<author><name>Chubbard</name></author>
	</entry>
</feed>