Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Python and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Lua, etc
 
Javascript examples (some PHP and MySQL too)

If you're looking for some simple examples in Javascript (alert window, checking the value in a field, one select box that depends on another, checking window width and browser type), etc, I've just posted some short pieces of code that I wrote yesterday to our client side technology area. So often I find that good examples of Javascript are deeply tied up within beautifully-displaying HTML that's difficult to read if you're looking at it to ask "how do they do that"?

The example that generates a pulldown menu based on what you've selected in another pulldown menu (exactly the sort of thing you'll want to do with - for example - make and model or country and town selections) also includes a PHP form with the Javascript to show how they work together, and use of data held in an SQL database too. Run the example at our demo area

"But I thought you didn't run Javascript courses, Graham". Correct - I don't have the notes and I don't have the in-depth knowledge to feel confident in running a whole course over several days on the subject. BUT ... it's an important adjunct in HTML, in contract work, in our own web site, and also as it relates to web sites that are server side using PHP, Perl, Python or Tcl. So I can and will cover elements of Javascript as needed within other courses.




Updated, 6th September 2009. Here are direct links to the examples that I am talking about ...

dynamic.html   Dynamic Image (Using Javascript)
eight.php   Disabling a form input until another element has been completed
fifth.html   Providing different links depending on which browser
first.html   Simple Javascript variables, and an alert box
fourth.html   reporting platform information via Javascript
isflash.html   Sensing whether Flash is available on a browser
jskl.html   Javascript event handling on a form (textarea)
nine.php   Javascript, PHP and MySQL used together - training example
second.html   Conditional in Javascript - wording based on browser
seven.php   Changing one Select menu based on another selection
six.php   Validating user entries at the browser
smonth.php   Disabling a form input until another element has been completed
terry2.html   Roll over an image to change another image
third.html   Checking plugin availability

(written 2005-08-13, updated 2009-09-06)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
W602 - Web and Intranet - Client Side Technologies
  [4310] Problem ... I want to print a series of numbered forms - (2014-10-05)
  [4277] Sending a message to the server and changing text on a page when a button is pressed - (2014-05-23)
  [3128] How does your browser find out about itself? - (2011-01-11)
  [2628] An example of an injection attack using Javascript - (2010-02-08)
  [2390] Dynamic / changing images on your web page - (2009-09-01)
  [1814] Javascript/HTML example, dynamic server monitor - (2008-09-28)
  [1813] Ajax - going Asyncronous and what it means - (2008-09-28)
  [1812] Starting Ajax - easy example of browser calling up server data - (2008-09-27)
  [1749] Using server side and client side programming together - (2008-08-11)
  [1681] Adding a button to a web page to print the page - (2008-06-18)
  [1322] Flash - is it available to your web page? - (2007-08-26)
  [522] Javascript events - a good example - (2005-12-09)


Back to
Reading a news or blog feed (RSS) in your PHP page
Previous and next
or
Horse's mouth home
Forward to
Bristol Balloon Festival
Some other Articles
Campaign Drift and efficiency.
Form Madness
Save the train
Bristol Balloon Festival
Javascript examples (some PHP and MySQL too)
Reading a news or blog feed (RSS) in your PHP page
Functions and commands with dangerous names
Can an older person learn a programming language
Theft of training material
Assignment, equality and identity in PHP
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2020: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/411_Java ... -too-.html • PAGE BUILT: Sat May 27 16:49:10 2017 • BUILD SYSTEM: WomanWithCat