Hoosgot

Send your wishes and desires out into the ether.

Hoosgot header image 2

Faking Javascript with Python

February 21st, 2008 · 1 Comment

http://xiix.wordpress.com/2008/02/21/faking-javascript-with-python/ asks Hoosgot,

I needed a web form featuring 2 pulldown select lists. The options available in the 2nd pulldown would change based on the user’s selected option in the 1st pulldown. The lazyweb helped, and my final JS functions are a combination of techniques gleaned from “onChange in Select Form Elements” and “Changing Select Element Content on the Fly“. I suppose it’s pretty effortless to conclude that I’m not much of a Javascript coder. I know just enough to get myself in trouble, but not enough to be productive. I needed to arrange the data from the database into global arrays so the JS functions would actually work, but the Javascript needed to remain data-agnostic because the data itself will change. That,

Visit the blog to lend your wisdom, or you can comment below.

Tags: Uncategorized

1 response so far ↓

Leave a Comment