[nycphp-talk] Javascript trigger
Jon Baer
jonbaer at jonbaer.com
Fri Mar 24 18:20:10 EST 2006
Id also recommend @ least taking a look at the following libraries
which have seen to become the norm (albeit via Rails):
* Prototype (the base of all things good)
http://prototype.conio.net/
* Scriptaculous
http://script.aculo.us/
* Behaviour
http://bennolan.com/behaviour/
* event:Selectors
http://www.encytemedia.com/event-selectors/
* JQuery
http://jquery.com
I think as more people expand on the Prototype library you are able
to perform remote queries pretty easily, if you combine all of these
libraries you get a nice toolkit to do anything client-side you might
need.
Id send you here for more info:
http://wiki.script.aculo.us/scriptaculous/show/Ajax.Updater
- Jon
On Mar 24, 2006, at 4:17 PM, Peter Sawczynec wrote:
> If you look at this particular tabbed menu interface project within
> this AJAX site:
> http://www.crackajax.net/tabs.php
>
> ..you can get a real fast look at using AJAX (where any onmouseover
> or onclick event, etc. can trigger a JavaScript call to a PHP
> script that taps the database and returns the info to the AJAX
> interface back to the HTML page) without a page reload. Smooth.
>
> I think it might very nearly do exactly what you want.
>
> Plus, this particular AJAX formulation has the smallest JavaScript
> scripting footprint I have seen.
>
> Warmest regards,
>
> Peter Sawczynec,
> Technology Director
> PSWebcode
> _Design & Interface
> _Ecommerce
> _Database Management
> ps at pswebcode.com
> 718.796.1951
> www.pswebcode.com
> -----Original Message-----
> From: talk-bounces at lists.nyphp.org [mailto:talk-
> bounces at lists.nyphp.org] On Behalf Of Alberto dos Santos
> Sent: Friday, March 24, 2006 5:26 AM
> To: NYPHP Talk
> Subject: [nycphp-talk] Javascript trigger
>
> Hi,
> I need an example of javascript triggering an MySQL query through PHP.
> What for?
> It will be a cascading javascript menu where option 2 is retrieved
> from the database according to the first selection and so on.
> In all it will be a 4 level menu.
> Any pointers/hints/examples would come in handy.
>
> TIA
>
> --
> Alberto dos Santos
> Consultor em TI
> IT Consultant
>
> http://www.yournway.com
> A internet à sua maneira.
> The Internet your own way.
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> New York PHP Conference and Expo 2006
> http://www.nyphpcon.com
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060324/8245cb05/attachment.html>
More information about the talk
mailing list