-
ajax in php question, form field population
This is a simple (or so I thought) use of AJAX, but i can't seem to figure it out...
I want to add a button to my page that when clicked, it runs a query in MySQL, then returns the value (a random value) to the form field.
This seems like an easy application of AJAX, but I can't find anything that discusses it, and I am not a highly skilled developer... Any thoughts or suggestions or places I can look?
Thanks.
-
Please go through some AJAX tutorial. There is good one a w3schools. Goto www.w3schools.com and search for AJAX. You need to use PHP to communicate to the database and return the result to the AJAX client as XML data.
Similar Threads
-
Replies: 0
Last Post: 03-22-2007, 09:15 PM
-
Replies: 5
Last Post: 03-16-2007, 12:11 PM
-
By cesarcesar in forum AJAX
Replies: 1
Last Post: 02-28-2007, 01:50 AM
-
Replies: 0
Last Post: 02-17-2007, 04:36 PM
-
By kepler in forum VB Classic
Replies: 0
Last Post: 03-19-2006, 03:28 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|