Friday, May 13, 2011

Use Ajax to retrieve data from db based on data from input box and adding it to a table.

which is the best way to implement the following::

i will be having a text box and a Add  button

Along with a table below it containing headers Serial No, roll no,Name, Age, Address, Phone no

my logic is to take the roll no as input from the text box and when i press enter either on the text field or click the add button it should search through the database
and add the details to the table without refreshing the whole page. and the clear the textfield and focus on it.
 It will give proper error msg if the roll no is not found

please help how and which is the best way to implement this...

thanks




--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate