Click to See Complete Forum and Search --> : onchange popup window


Relena
11-28-2002, 07:57 AM
im making my site in PHP, but im stuck on some java stuff.
i want, in an option pull dow list thing, i want to, onchange, to open a new window, wih a variable, below is what i WANT it to be, but of course, it gives me an error, its sopposed to open a new window, which normally works for just normal text, but i want it to work with a pulldown list.

onchange="userdetails('+this.value;')"

can someone please help me.

Charles
11-28-2002, 08:19 AM
I'm afraid that I'm having trouble imagining what you want to happen. But keep in mind that unless you want your page to fail for a lot of users you'll need to make sure that it works on JavaScript free browsers. So, get your page working using only HTML and PHP and then simply submit the form onchange.