Tag: javascript

April 11, 2006 / / PHP & Web Development

I’ve just been playing with javascript changing the style of an item directly as part of my prep for an AJAX integrated project. Making sure the code is cross browser is really important so I pulled together some bits and pieces from all over the place and have put together a test page with tabbed forms and a style changer.

Javascript Test Page

The key elements are the ability to get the element using any of the browser types.

December 13, 2005 / / PHP & Web Development
October 11, 2005 / / PHP & Web Development

I’ve been wanting to have a play with AJAX for ages and had book marked Rasmus’ 30 second AJAX Tutorial so tonight I took 30 seconds, which turned into 30 minutes and had a play.

I’ve extended his example slightly – to include a javascript fix and to make it a bit more browser safe – because I have Opera 7 as my test browser and it doesn’t work, but does for Opera 8 (apparantly).

September 17, 2005 / / PHP & Web Development

It’s sometimes necessary to submit a form using javascript rather than by using the normal serverside validation (or as well as). This is a handy example of how to do it…

June 22, 2005 / / PHP & Web Development
June 21, 2005 / / PHP & Web Development

This is a Frequently Asked Question for beginners getting to grips with the whole clientside versus serverside programming topic.

  1. Javascript can only run in the browser.
  2. PHP can only run on the webserver.
April 14, 2005 / / PHP & Web Development