If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Threaded View

Javascript tidbits

I am posting this to help people and to gain point (hopefully ). I am on the abomitable list of the close to being banned for my low points. These are a creditted to my willingness to jump into controversial forums and state my own ideas, and my laziness in posting often or start useful threads. I can not call this a tutorial as it does not teach you haw to program fluently in javascript. I only am stating a useful instance and my date script for people to copy.

How many times have you wanted to state something when someone clicked a button, but you did not want to load a whole 'nother page just to say a sentence or two. Here are a few ways to do it:

The above code clears the page and prints whatever you type in the message section! It's like having another html page!

I will finish up with one last script. I created it, and the code is not the neatest, but I think it will be of some use. It prints out the current date in the follow ing form:
ie:
Today is: June, 2002
Friday the 7th

Well that raps it up for now. Please do not bash me to bad for the sloppiness of the code. I may post more in the future. I hope you can use these examples. If you are interested in learning javascript, please check out this site. It is the best free tutorial I know about.http://www.javascriptmall.com/learn/contents.htm.