Re: [PHP] onChange js running a php function

2005-10-12 Thread Richard Lynch
On Tue, October 11, 2005 3:11 pm, Dan McCullough wrote: > Its been awhile since I tried this so I was wondering if anyone had > any luck with this. > > I need to get a list of tables from a database, which means I have to > run a function, I would like to have an onChange event run when I > change

Re: [PHP] onChange js running a php function

2005-10-11 Thread Brent Baisley
As someone else mentioned, this isn't really PHP. You could be using any server side language. It's really a javascript question. But to answer your question, the functionality you are looking for has lately been being solved by using AJAX. Search the list archives for some links to some qu

Re: [PHP] onChange js running a php function

2005-10-11 Thread tg-php
First, I want to beat everyone to the punch in yelling at you.. "This is not a PHP question!!! RTFM STFU NOOB" or something stupid like that. hah But, maybe it seems like it COULD be a PHP question. And it's definitely relevant to PHP development, so how about we give a REAL answer instead of

Re: [PHP] onchange drop down list and text field

2004-07-08 Thread Dennis Seavers
meant. > [Original Message] > From: Jason Wong <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Date: 07/08/2004 8:00:38 PM > Subject: Re: [PHP] onchange drop down list and text field > > On Friday 09 July 2004 10:41, Curlys wrote: > > > I would like to as

Re: [PHP] onchange drop down list and text field

2004-07-08 Thread Jason Wong
On Friday 09 July 2004 10:41, Curlys wrote: > I would like to ask another help from u all , > I have an data submitable form . There is some fields. It is connected with > mysql database. so I want to put to these fields as drop down list as well > as text input area. say , if when i adding data

Re: [PHP] onChange

2003-12-22 Thread Matt Matijevich
[snip] I have 2 list fields in a form. The second is populated basing on selection in field 1. Can anyone pls tell me how to do this in PHP ? [/snip] you can't, onchange is fired with javascript on the client. You have a number of ways you can do it a few are. 1. have on change submit the form to

Re: [PHP] onChange

2003-12-22 Thread Larry E . Ullman
I have 2 list fields in a form. The second is populated basing on selection in field 1. Can anyone pls tell me how to do this in PHP ? You can't do this with PHP. PHP is server side which means it only reacts after a request has been made to the server (by loading a Web page or submitting a form

Re: [PHP] onchange = "$_SESSION['Alarm'] = getelementbyid('alarmReport').value;"

2003-08-26 Thread Marek Kilimajer
getelementbyid('AlarmReport').value will not get the value of the selected option. Use this.options[this.selectedIndex].value Session var can be set only on the server, you must post the form to get the value or use some javascript to do it, eg: img = new Image(); img.src="set_session_var.php?va

Re: [PHP] onchange read file, php & JS

2002-05-28 Thread 1LT John W. Holmes
You have to put the variable into a hidden form element or tack it onto a URL in order to pass it to the PHP page. ---John Holmes... - Original Message - From: "Mihaela Dupret" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 6:51 AM Subject: [PHP] onchange read fi