FRIHOST • FORUMS • SEARCH • FAQ • TOS • BLOGS • COMPETITIONS
You are invited to Log in or Register a free 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.
Related topics
A use for Ajax?
AJAX tutorial
AJAX based 5 star rating script
AJAX - asynchronous JavaScript and XML
A Ajax tutorial
AJAX?
[TUTORIAL] Ajax para quem só ouviu falar
AJAX web coding
Help making an AJAX messaging system
AJAX
The origin of AJAX
importing a .txt
AJAX or servlets?
AJAX tutorial [2nd part now updated]
AJAX load ??
Reply to topic    Frihost Forum Index -> Scripting -> Others

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