Re: PHP & JavaScript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jay Blanchard wrote:
[snip]
http://us2.php.net/variables.external
[/snip]

BINGO! We have a winner!

It can be as simple as adding an id to each checkbox;

<input type="checkbox" id="list37" name="list37[]" value="4" />

By doing this I did not have to change the function or the function
calls. JS recognizes the boxes by id, PHP recognizes the array.

There were some other more complex solutions listed.....but I believe in
KISS....


Next time, RTFM!  :-p

--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
jnichel@xxxxxxxxxxxxxxxxxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux