Dude! And after we talked about that common error, too! But as with the others, I'll count it as "close enough for gov. work."
Note to everyone: the Fibonacci series *starts* 0 1 1 2 3 5 ...
Less than half of yours do :/.
This is a link to a working comments page (linked to a database table) which requires a valid name and email address before submission using Javascript. An error message appears & fades at the bottom of the form if something is omitted. I also made the same thing happen using PHP, so there are also messages at the top of the page from that code. I got the Javascript from http://www.leigeber.com/2008/04/dynamic-inline-javascript-form-validation/, and included this citation in my js page. Upon submission, a thank you message appears at the top of the form.
updating this page on my photo site from module 2, I have changed the layout a bit. I have also added buttons to show and hide the description of the pictures. I really like this show/hide feature. I feel it will come into good use when i have alot of text, that i dont want overwhelming a user unless they want to read it all.
the jquery home page and tutorials are very very helpful with great, at least i think so, examples/demos/references to using javascript and jquery
This is a form that will not submit unless both name and email are filled out. Email must be filled out properly. If you click on the input boxes and try to submit the information you get messages if your info is incorrect. I honestly do not know what I would do without the Headfirst books. I was able to do this assignment thanks to Headfirst: javascript.
I also suggest checking out this site for some help with javascript and validation! unlike some other sites, the color properties of the different code help to make things visually clearer, and thus, easier to understand when trying to work out how the code is set up.
this page submits info into my database where i can read it, and then choose to respond.
i added the javascript to this pages that requires an entry in the name, email and comment fields as well as a valid email address... comments in the .js file show where i got my code and help from.
it validates
webteacher.com has an excellent tutorial for learning JavaScript. It starts off saying that it is JavaScript for the non-Programmer and goes through step by step defining terms such as JavaScript, Object Oriented Programming (OOP), objects, methods, properties, events, functions, alerts, forms, buttons etc. It also has a great chapter on Loops (chapter 5). This site shows examples of code and slowly goes through step by step the structure and components of JavaScript.
Test your JavaScripting skills using the w3schools.com Tryit Editor. See what happens in side by side windows. Learn the basic formatting of JavaScript statements, blocks and comments. This site seems like a good place to practice, if you know very little about coding JavaScript from scratch.
Here is information about javascript and its capabilities from Mozilla. It also tells you what javascript implementations are available with mozilla.org.
And then there's this competition. Probably a bit much for this class, but if student(s) are interested, I would be happy to do an ind. study in the summer.