Here is why.
I write most of my scripts in PHP, with an occasional Jscript as needed for client side stuff. But Jscript is notoriously buggy across platforms and browsers. PHP is pretty solid.
Also, unlike JS, PHP is pretty straightforward to program in. Anybody that know C or C++ can pick it up in a couple of weeks, or less. And I don't know JS all that well.
I have two list boxes on a form. One is a list for languages, German, French, English, etc. The other is a list of months. When the user changes languages, the months list also change. This works fine in some browsers, but not others. Netscape 4.7 esp. does not like this stuff, while NS 7.0 and IE 5.5 like it just fine.
My plan is to re-implement those list boxes in PHP. I already have code to do that. I also send the user a cookie when he selects his language choice for his default. So by reloading the page with onClick (in the language list box, and yes, I can intermingle JS with PHP, but not the other way around) I will grab the cookie and refresh the list boxes as needed.
I would like to do this all in JS. But as stated, it's just to unreliable and is causing to many problems across browsers.
Can you tell me if it's possible to have the onClick event call something to reload the page.