Reputation: 6610
I'm developing a website/database solution which gives the administrator the option to sign into the webpage and perform actions on the database.
Currently they can add/delete/run pre-defined queries, however to 'edit' records in a table, I would like them to specify the primary key (ID) and then have ajax read in the values associated with that record and allow them to be changed.
What's the best way to go about this? Any pointers would be great!
Upvotes: 3
Views: 138
Reputation: 18531
Firstly, you'll probably want to use a Javascript framework such as jQuery which takes care of a lot of the heavy lifting for you.
The main API methods you'll be concerned with are
Upvotes: 1