October 23, 2009
We all know writing code with global functions and variables if bad news so what’s the alternative in Javascript to writing lots of objects? I dont think Javascript is very good as an object orientated language and doesnt do this sort of thing very well but you can put these… [...]
June 11, 2009
Update: Or instead you could use the excellent jQuery library which has methods for this. Another thing I needed to do with Javascript was send quite a lot of data from the browser to code on the server, I was already using GET (where the data is in the URL… [...]
June 11, 2009
Ok, two Javascript post together here… I’ve been doing a lot with Javascript recently (results to follow shortly!). One thing that took me a while to work out how to do was to dynamically change the onsubmit action standard html form. So, you have a form and you want a… [...]
February 3, 2009
Update: Alhough this works, I now know that its not the best way to do this so don’t use it! I have many Google maps dotted all over my site and was getting annoyed with many Javascript funtions to build these maps when they were commonly the same. So, I… [...]