Page 1 of 1

Ajax + php

Posted: Mon Nov 22, 2010 1:26 am
by shafiq2626
Hi
How to display database value in text boxes with Ajax.

Re: Ajax + php

Posted: Mon Nov 22, 2010 4:59 am
by Christopher
What have you tried?

Re: Ajax + php

Posted: Mon Nov 22, 2010 5:36 am
by shafiq2626
Thanks for response.
Actually i am adding rows with java script to make an invoice. And every rows have product drop down list and its price text box. I want to display price in price text box against selected product.
This will be done in every row.
Please help how this will be possible.
Thanks

Re: Ajax + php

Posted: Mon Nov 22, 2010 1:47 pm
by Christopher
Are you using a Javascript library? An example of a Javascript library that supports Ajax would be jQuery.

Re: Ajax + php

Posted: Mon Nov 22, 2010 11:13 pm
by shafiq2626
Thanks for reply
yes i am using java script to add multiple rows.
Please help how jquery would be help full.
thanks

Re: Ajax + php

Posted: Mon Nov 22, 2010 11:52 pm
by Christopher
A Javascript library will make it easier to do many things. There are a number of Javascript libraries, such as jQuery, Dojo, MooTools, etc.

Here are some jQuery tutorials:

http://docs.jquery.com/Category:Ajax