php3-list | 199807
Date: 07/10/98
- Next message: Ben Laurie: "[PHP3] Re: [apache-ssl] compile prob PHP3 + Apache_1.3.0 + SSLeay-0.9.0b please help"
- Previous message: Dave Walton: "Re: [PHP3] Interweaving PHP & HTML"
- In reply to: Bård Kregnes: "Re: [PHP3] Figuring out which variables who are sent to a page.."
- Next in thread: Colin Viebrock: "Re: [PHP3] Figuring out which variables who are sent to a page.."
- Reply: Colin Viebrock: "Re: [PHP3] Figuring out which variables who are sent to a page.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10-Jul-98 Brd Kregnes wrote:
> Colin Viebrock wrote:
>>
>> Also sprach Brd Kregnes (at 03:38 PM 7/8/98 +0200) ...
>> >Hi there!
>> >
>> >My problem is:
>> >
>> >I know this will be solved using arrays, but I'm using a javascript
>> >which won't work / can't access the values if I'm using an array..
>>
>> Yes you can ... you just can't refer to them as:
>> document.formname.elementname.value
>>
>> You need to refer to them as:
>> document.formname.elements[1]
I think you need
<SELECT NAME="i_iProsjektNr[]" ONCHANGE=
"VisTimePris(window.document.TIME_REGISTRERING.i_iProsjektNr[0].value,0)">
^^^^^^
<OPTION>3 MKS support</OPTION>
<OPTION>2 dagens prosjekt</OPTION></SELECT>
You could simplify window.document.TIME_REGISTRERING to this.form
Also look up the selectedindex property at
http://developer.netscape.com/docs/manuals/communicator/jsguide4/index.htm
Cheers!
Brian
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
- Next message: Ben Laurie: "[PHP3] Re: [apache-ssl] compile prob PHP3 + Apache_1.3.0 + SSLeay-0.9.0b please help"
- Previous message: Dave Walton: "Re: [PHP3] Interweaving PHP & HTML"
- In reply to: Bård Kregnes: "Re: [PHP3] Figuring out which variables who are sent to a page.."
- Next in thread: Colin Viebrock: "Re: [PHP3] Figuring out which variables who are sent to a page.."
- Reply: Colin Viebrock: "Re: [PHP3] Figuring out which variables who are sent to a page.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

