RE: [PHP] Passing HTML array index to JS?

2009-12-08 Thread Ford, Mike
-Original Message- From: Skip Evans [mailto:s...@bigskypenguin.com] Sent: 07 December 2009 23:03 To: php-general@lists.php.net Subject: [PHP] Passing HTML array index to JS? Hey all, I have an HTML field like this input type=text name=qty[] value=!!quantity!! size=4

RE: [PHP] Passing HTML array index to JS?

2009-12-08 Thread Ashley Sheridan
On Tue, 2009-12-08 at 12:34 +, Ford, Mike wrote: -Original Message- From: Skip Evans [mailto:s...@bigskypenguin.com] Sent: 07 December 2009 23:03 To: php-general@lists.php.net Subject: [PHP] Passing HTML array index to JS? Hey all, I have an HTML field like this

Re: [PHP] Passing HTML array index to JS?

2009-12-08 Thread tedd
At 9:07 PM -0600 12/7/09, Philip Thompson wrote: -snip- Good stuff. Thanks, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing HTML array index to JS?

2009-12-08 Thread Philip Thompson
On Dec 8, 2009, at 11:10 AM, tedd wrote: At 9:07 PM -0600 12/7/09, Philip Thompson wrote: -snip- Good stuff. Thanks, tedd You say so much with so little... ~Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing HTML array index to JS?

2009-12-07 Thread Philip Thompson
On Dec 7, 2009, at 5:02 PM, Skip Evans wrote: Hey all, I have an HTML field like this input type=text name=qty[] value=!!quantity!! size=4 style=text-align: right; onblur=calculateBidUnit(); ... and what I need to do is pass to the calculateBidUnit function the value of quantity, do

Re: [PHP] Passing HTML array index to JS?

2009-12-07 Thread Skip Evans
Hey Philip, But will that ID value identify the right member of each array? I thought about that but just assumed that it would not. Skip Philip Thompson wrote: On Dec 7, 2009, at 5:02 PM, Skip Evans wrote: Hey all, I have an HTML field like this input type=text name=qty[]

Re: [PHP] Passing HTML array index to JS?

2009-12-07 Thread Philip Thompson
On Dec 7, 2009, at 6:32 PM, Skip Evans wrote: Hey Philip, But will that ID value identify the right member of each array? I thought about that but just assumed that it would not. Skip Philip Thompson wrote: On Dec 7, 2009, at 5:02 PM, Skip Evans wrote: Hey all, I have an HTML