Ajax + php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shafiq2626
Forum Commoner
Posts: 88
Joined: Wed Mar 04, 2009 1:54 am
Location: Lahore
Contact:

Ajax + php

Post by shafiq2626 »

Hi
How to display database value in text boxes with Ajax.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Ajax + php

Post by Christopher »

What have you tried?
(#10850)
shafiq2626
Forum Commoner
Posts: 88
Joined: Wed Mar 04, 2009 1:54 am
Location: Lahore
Contact:

Re: Ajax + php

Post 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
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Ajax + php

Post by Christopher »

Are you using a Javascript library? An example of a Javascript library that supports Ajax would be jQuery.
(#10850)
shafiq2626
Forum Commoner
Posts: 88
Joined: Wed Mar 04, 2009 1:54 am
Location: Lahore
Contact:

Re: Ajax + php

Post by shafiq2626 »

Thanks for reply
yes i am using java script to add multiple rows.
Please help how jquery would be help full.
thanks
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Ajax + php

Post 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
(#10850)
Post Reply