Re: [PHP] Creating drop-down menus

2012-07-20 Thread tamouse mailing lists
On Jul 19, 2012 8:31 PM, Tedd Sperling t...@sperling.com wrote: On Jul 19, 2012, at 1:50 PM, Daniel Brown danbr...@php.net wrote: As an aside on the subject of jQuery, our very own Jay Blanchard has written a comprehensive book on the topic entitled Applied jQuery: Develop and Design:

Re: [PHP] Creating drop-down menus

2012-07-20 Thread tamouse mailing lists
On Jul 20, 2012 9:20 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Jul 19, 2012 8:31 PM, Tedd Sperling t...@sperling.com wrote: On Jul 19, 2012, at 1:50 PM, Daniel Brown danbr...@php.net wrote: As an aside on the subject of jQuery, our very own Jay Blanchard has

Re: [PHP] Creating drop-down menus

2012-07-20 Thread Daniel Brown
On Fri, Jul 20, 2012 at 10:21 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Jul 20, 2012 9:20 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Jul 19, 2012 8:31 PM, Tedd Sperling t...@sperling.com wrote: On Jul 19, 2012, at 1:50 PM, Daniel Brown danbr...@php.net

Re: [PHP] Creating drop-down menus

2012-07-19 Thread Tedd Sperling
On Jul 16, 2012, at 4:16 PM, Ramiro Barrantes ram...@precisionbioassay.com wrote: Hello, I am making an application using PHP/Javascript/mysql and had a question. Sometimes I need to use javascript to fill a drop down box based on the value of a previous drop down box. However, the

Re: [PHP] Creating drop-down menus

2012-07-19 Thread Daniel Brown
On Thu, Jul 19, 2012 at 1:25 PM, Tedd Sperling t...@sperling.com wrote: As for the discussion re jQuery and such, there's no need -- it was not used in this demo. IOW, no jQuery was harmed. I am not against jQuery, on the contrary I think it's great, but it's not always needed for

Re: [PHP] Creating drop-down menus

2012-07-19 Thread Tedd Sperling
On Jul 19, 2012, at 1:50 PM, Daniel Brown danbr...@php.net wrote: As an aside on the subject of jQuery, our very own Jay Blanchard has written a comprehensive book on the topic entitled Applied jQuery: Develop and Design: http://links.parasane.net/92xb Just bought it --

RE: [PHP] Creating drop-down menus

2012-07-17 Thread Ramiro Barrantes
the times!!! From: Jen Rasmussen [j...@cetaceasound.com] Sent: Monday, July 16, 2012 4:19 PM To: Ramiro Barrantes; php-general@lists.php.net Subject: RE: [PHP] Creating drop-down menus -Original Message- From: Ramiro Barrantes [mailto:ram

Re: [PHP] Creating drop-down menus

2012-07-17 Thread James Newman
: Monday, July 16, 2012 4:19 PM To: Ramiro Barrantes; php-general@lists.php.net Subject: RE: [PHP] Creating drop-down menus -Original Message- From: Ramiro Barrantes [mailto:ram...@precisionbioassay.com] Sent: Monday, July 16, 2012 3:17 PM To: php-general@lists.php.net Subject: [PHP

Re: [PHP] Creating drop-down menus

2012-07-17 Thread Paul M Foster
On Wed, Jul 18, 2012 at 08:45:34AM +1200, James Newman wrote: Just to put my 2cents in, you might want to try jQuery if you're going to go down the AJAX road. JQuery is a LOT of code to include if you're just going to do an AJAX call or two. There are examples of doing straight AJAX with

Re: [PHP] Creating drop-down menus

2012-07-17 Thread Andrew Ballard
On Tue, Jul 17, 2012 at 4:58 PM, Paul M Foster pa...@quillandmouse.com wrote: On Wed, Jul 18, 2012 at 08:45:34AM +1200, James Newman wrote: Just to put my 2cents in, you might want to try jQuery if you're going to go down the AJAX road. JQuery is a LOT of code to include if you're just going

Re: [PHP] Creating drop-down menus

2012-07-17 Thread Tim Streater
On 17 Jul 2012 at 21:58, Paul M Foster pa...@quillandmouse.com wrote: On Wed, Jul 18, 2012 at 08:45:34AM +1200, James Newman wrote: Just to put my 2cents in, you might want to try jQuery if you're going to go down the AJAX road. JQuery is a LOT of code to include if you're just going to do

RE: [PHP] Creating drop-down menus - use AJAX and jQuery

2012-07-17 Thread Daevid Vincent
@lists.php.net Subject: Re: [PHP] Creating drop-down menus On Wed, Jul 18, 2012 at 08:45:34AM +1200, James Newman wrote: Just to put my 2cents in, you might want to try jQuery if you're going to go down the AJAX road. JQuery is a LOT of code to include if you're just going to do an AJAX call

Re: [PHP] Creating drop-down menus - use AJAX and jQuery

2012-07-17 Thread Jay Blanchard
[snip]On 7/17/2012 4:55 PM, Daevid Vincent wrote: * jQuery for production (minified) is a scant 32k. http://jquery.com/ LOL That's like a TCP/IP packet. I bet your images are bigger than 32k. * Unlike stupid PHP frameworks (which everyone knows I detest) - JS frameworks are cached by the

RE: [PHP] Creating drop-down menus

2012-07-16 Thread Jen Rasmussen
-Original Message- From: Ramiro Barrantes [mailto:ram...@precisionbioassay.com] Sent: Monday, July 16, 2012 3:17 PM To: php-general@lists.php.net Subject: [PHP] Creating drop-down menus Hello, I am making an application using PHP/Javascript/mysql and had a question. Sometimes I need to

Re: [PHP] Creating drop-down menus

2012-07-16 Thread Tim Streater
On 16 Jul 2012 at 21:19, Jen Rasmussen j...@cetaceasound.com wrote: Sometimes I need to use javascript to fill a drop down box based on the value of a previous drop down box. However, the information to fill the latter is stored in mysql and can be a lot, what I have been doing is that,

RE: [PHP] Creating drop-down menus

2012-07-16 Thread Daevid Vincent
AJAX. Your page calls a PHP 'ajax' routine that pulls the data, sends it back as a JS array, and you re-populate the second select box. Welcome to the year 2000. Using frameworks like jQuery, this is pretty trivial these days. You're not trading any security since the PHP gets whatever parameters