Patel, Aman wrote:
Ryan Jameson (USA) wrote:
That's not the problem. The problem is referring to the listbox via
javascript. It doesn't like the format: formName.listBoxName[].value it
has no problem with formName.listBoxName.value but then PHP doesn't seem
to handle it correctly.
There is a functi
Well i did not see why the name have to be with
brackets [], can you show some code ?
If you create the select in the way that i said, the
name of the select will not have brackets , and the
javascript have to work.
--- "Ryan Jameson (USA)" <[EMAIL PROTECTED]> wrote:
> That's not the problem. The
It's not a problem. Just refer to it using elements[]
document.form_name.elements["fieldname[Value]"]
On May 18, 2005, at 2:59 PM, Ryan Jameson ((USA)) wrote:
That's not the problem. The problem is referring to the listbox via
javascript. It doesn't like the format: formName.listBoxName[].value it
Ryan Jameson (USA) wrote:
That's not the problem. The problem is referring to the listbox via
javascript. It doesn't like the format: formName.listBoxName[].value it
has no problem with formName.listBoxName.value but then PHP doesn't seem
to handle it correctly.
There is a function called "MM_fin
Ryan,
you should be able to refer to the listbox in javascript as
document.formName.elements['listBoxName[]'].
Hope this helps... Dusty
Ryan Jameson wrote:
> That's not the problem. The problem is referring to the listbox via
> javascript. It doesn't like the format: formName.listBoxName[
have you tried getElementByID()?
Bastien
From: "Ryan Jameson (USA)" <[EMAIL PROTECTED]>
To: "Dimiter Ivanoff" <[EMAIL PROTECTED]>
CC:
Subject: RE: [PHP-DB] Multiselect List
Date: Wed, 18 May 2005 12:59:37 -0600
That's not the problem. The problem is referring to the listbox via
javascript. It doe
That's not the problem. The problem is referring to the listbox via
javascript. It doesn't like the format: formName.listBoxName[].value it
has no problem with formName.listBoxName.value but then PHP doesn't seem
to handle it correctly.
<>< Ryan
From: Dimiter Iv
Hey Guys,
I'm populating a multiselect list with countries from my database. PHP
seems to require the name contain array brackets, ie. myName[]. The
problem I'm having is referring to the select list via javascript when
the name contains the brackets. Anyone know how?
Thanks.
<>< Ryan
--
PHP Dat
Miguel Guirao wrote:
> You are right David, I have an auto_increment field!!
>
> What about this:
> $items2 = mysql_query("SELECT DISTINCT rev FROM rev ORDER BY rev", $link);
>
> where rev is a revision field for parts in my wharehouse!!!
> Does it will work in this case?
>
> Thanks
>
> -O