Javascript Dynamic Scheduled Function Primer Tutorial

Javascript Dynamic Scheduled Function Primer Tutorial

Javascript Dynamic Scheduled Function Primer Tutorial

Today’s very generic HTML and Javascript tutorial has two major “lessons”, if you will. They are …

  1. the Javascript setTimeout (and setInterval) parameter 1 function parameters do not have to point to static Javascript functions … the parameter 1 can be dynamic in nature, or just known, as with today’s setTimeout(function(){ top.document.getElementById('nothingp').innerHTML+=eval(zero % 10); }, 500);
  2. (we’ve done this many times before already, but just reiterating that) the same codeset (in today’s case HTML/Javascript) can run a (several-)tiered scenario of application, as with today’s two-tiered arrangement of settf.html (parent HTML) calling (child HTML) iframe settf.html?called=y … where the “child” can know the “parent”‘s document as top.document … and in this way can control every dynamic aspect of the project, if you wish

The first point above is pretty important, and we may revisit this with a more complex example later, because it means you can gain some knowledge as the web application process proceeds, and tailor how you run scheduled tasks as the information comes in, allowing for real time programming thoughts to be called into play.

So today we just have a “counter” being controlled by the user via a press of an HTML button element, the “display” of which is in the “parent” realm, but the “onclick” logic of which is being processed by the child HTML iframe’s incarnation of your HTML code, that “slaps” the display back up to the parent via the use of top.document (blah blah blah).

If this was interesting you may be interested in this too.

This entry was posted in eLearning, Event-Driven Programming, Tutorials and tagged , , , , , , , . Bookmark the permalink.

17 Responses to Javascript Dynamic Scheduled Function Primer Tutorial

  1. I would like to thnkx for the efforts you’ve put in writing this blog. I am hoping the same high-grade web site post from you in the upcoming as well. Actually your creative writing skills has encouraged me to get my own website now. Really the blogging is spreading its wings fast. Your write up is a great example of it.

  2. Hello.This post was extremely motivating, particularly because I was looking for thoughts on this topic last Tuesday.

  3. Convertibles says:

    You made various good points there. I did a search on the theme and found nearly all persons will agree with your blog.

  4. As a Newbie, I am permanently exploring online for articles that can be of assistance to me. Thank you

  5. My wife and i ended up being absolutely happy that Louis managed to deal with his investigation from your precious recommendations he got from your web pages. It is now and again perplexing just to choose to be giving out helpful tips which most people might have been making money from. And now we remember we’ve got the blog owner to be grateful to for that. The entire illustrations you’ve made, the easy web site navigation, the relationships you can aid to engender – it’s most great, and it’s letting our son and our family believe that the issue is entertaining, which is certainly quite indispensable. Many thanks for the whole thing!

  6. As a Newbie, I am permanently browsing online for articles that can be of assistance to me. Thank you

  7. I’m totally agree with your declaration or things that you’ve discussed below in this internet site.

  8. Hiya very cool site!! Guy .. Beautiful .. Wonderful .. I will bookmark your website and take the feeds alsoΒ‘KI am glad to seek out so many useful info right here in the post, we want work out extra techniques on this regard, thank you for sharing. . . . . .

  9. Whats Taking place i’m new to this, I stumbled upon this I have discovered It positively useful and it has aided me out loads. I am hoping to contribute & help different users like its helped me. Good job.

  10. I‘¦m not positive the place you are getting your information, but great topic. I needs to spend a while studying more or working out more. Thanks for fantastic info I was in search of this information for my mission.

  11. You made some decent points there. I did a search on the issue and found most people will approve with your blog.

  12. As a Newbie, I am permanently browsing online for articles that can benefit me. Thank you

  13. Automotive says:

    Valuable information. Lucky me I found your website unintentionally, and I’m surprised why this coincidence did not took place earlier! I bookmarked it.

  14. It’s awesome to visit this web site and reading the views of
    all colleagues on the topic of this piece of writing, while I am
    also keen of getting knowledge.

  15. tcwin says:

    Good website! I truly love how it is simple on my eyes and the data are well written. I’m wondering how I could be notified whenever a new post has been made. I have subscribed to your RSS feed which must do the trick! Have a nice day!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>