FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Will Ajax do this

 


Possum
Hi

I want to have check boxes on my website. The user selects what they want. I want to know the choices they make even if they don't press the submit button on the page..

Cheers Possum..
RiCtee
AJAX can do definitely accomplish that. But it isn't really appropriate/suitable to do that. I mean it will generate a lot of false and useless data if someone simply clicks here and there. Also you will need to put some error checking mechanism just to make sure. If you had something else in mind please explain.
sonam
I am not good in AJAX but I think it is possible to know what is checked without submit. Here is one interesting site:
http://www.eire-webdesign.ie/blog/tag/ajax-using-post-or-get/

Sonam
Possum
RiCtee wrote:
it will generate a lot of false and useless data if someone simply clicks here and there..


Yes thats good advice.. This facility will be for registered users I guess..

Cheers Possum..
Stubru Freak
Basically, make an event handler fired when somebody clicks a check box.
In the handler, get the state of all checkboxes, and send it to a server page.
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.