Jump to content

update mysql db


runnerjp

Recommended Posts

onblur="updateStatus('statusinput')"

 

They have a function that sets the text from a <p> or something to an input, then back as well.  Basically, you call a function that sends the Ajax request in the background while making the changes available immediately to you using javascript.

 

Javascript, Ajax, php, mysql.

Link to comment
https://forums.phpfreaks.com/topic/111904-update-mysql-db/#findComment-574539
Share on other sites

I don't use facebook, but I assume you're referring to inline editing. For example, you click on an element i.e. a paragraph, and then a text area appears with the contents of the element inside allowing you to edit it and then update it. For this I would recommend using jQuery, there's a plug-in named jEditable which allows you to do this in conjunction with Ajax.

Link to comment
https://forums.phpfreaks.com/topic/111904-update-mysql-db/#findComment-575483
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.