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 my

[PHP] onChange js running a php function

2005-10-11 Thread Dan McCullough
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 my selection in a select menu, that would send the value for the

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 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

[PHP] onchange drop down list and text field

2004-07-08 Thread Curlys
hi , 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 , if it is in the database there should be

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 drop down list and text field

2004-07-08 Thread Dennis Seavers
of a better way of doing it. But, that might give you an idea of how to go about your project, assuming that I understood what you 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

[PHP] onChange

2003-12-22 Thread Chakravarthy Cuddapah
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 ?

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

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

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

2003-08-26 Thread Mrunal Wagh
hi, I have a SELECT in which I would like to store the variable value in the Session variable of onchange event of the SELECT. I am stuck up with the syntax could u please help. Select name=AlarmReport id = AlarmReport **I want to do this* onchange = $_SESSION['Alarm'] =

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();

[PHP] onchange, post and page refreshing

2003-03-21 Thread Dan Rossi
hi there in my form i have a function to output a number of upload form boxes , this function will post the ammount function number_upload_boxes($num_boxes){ echo 'form name=count_form method=post action='.$_SERVER['PHP_SELF'].?.$this-url(action, action=addphotos).''.\n;

[PHP] onchange read file, php JS

2002-05-28 Thread Mihaela Dupret
Hy, Is it possible to use a javascript variable into php or to change it into php variable? I have a list with the files from a directory, this works fine. For the event onchange I want to show the content of the file chosen. So, in the code, the variable inputf has the file name that I want

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 file