Question:
Can a HTML list/menu box cause a trigger?
Riggs
2011-08-13 19:08:18 UTC
im a begginer in web development.. and i just wanted to know if a list/menu box when clicked/or its items are choose it can cause a trigger to other parts of the site..

ex.

if im going to choose from a list/menu with names listed coming from a mysql db..

it will trigger the next list/menu to only list the related information of the name chosen from a mysql db???
Three answers:
?
2011-08-13 19:12:15 UTC
You can create an ajax handler to monitor the value of the listbox after the user selects a new value and poll your server side script and repopulate your page with new data based on what the user selected. jQuery makes this process relatively painless:



http://api.jquery.com/jQuery.get/



or



http://api.jquery.com/jQuery.post
?
2016-12-01 12:33:29 UTC
a million. No such element as a %.-a-poo. you have a pekignese x poodle combination. A mutt. 2. canines are meant to do away with on the grass, outdoors. Housetrain your canines so which you do no longer desire a litterbox. she would be knowledgeable to bypass outdoors like a typical canines might desire to be. 3. Cat clutter is for cats. there's no such element as canines clutter. in case you're to lazy to coach your canines to bypass outdoors you may get a matt that has a grassy texture. it is going to might desire to be emptied as a clutter container might, some situations an afternoon. 4. whilst a canines craps or pees interior the living house it is going to sniff. You crap and pee interior the rest room...would not the washing room stink once you're performed? the only distinction is which you would be able to flush, the canines won't be able to. It merely sits there till YOU sparkling it or you practice the canines to bypass outdoors.
anonymous
2011-08-13 19:12:45 UTC
Yes, but you need to use php to manipulate, read in and build pages from the data. And you can use any javascript event to trigger the move.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...