Reply to Re: Select box help

Your name:

Reply:


Posted by Andy Jeffries on 05/03/06 00:41

On Tue, 02 May 2006 13:47:08 -0700, Regenuluz wrote:
> I'm pretty sure AJAX would be the best choice here. And the only one I can
> think of, where you don't have to reload the entire page.

You could also use a regular Javascript data structure within <script>
tags dynamically printed/echoed using PHP, then filter the data structure
using Javascript to only display the relevant items.

However, it could make page weight enormous, so it may not be possible
with your dataset (plus you may not like the idea of your dataset being
easily viewable, although anyone can read the AJAX source and pull it
using a script if they're interested so neither way is secure).

I do, however, agree with Regenluz that AJAX would be the best solution,
but in case writing custom AJAX code is out of your realm of abilities,
there is the way I suggest above.

Cheers,


Andy


--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация