runnerjp Posted June 25, 2008 Share Posted June 25, 2008 on facebook there is a nice biot where users can update there display message by clicking on there message typin in the new data and clicking off it will update the test... how can i do this?? Quote Link to comment https://forums.phpfreaks.com/topic/111904-update-mysql-db/ Share on other sites More sharing options...
xtopolis Posted June 26, 2008 Share Posted June 26, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/111904-update-mysql-db/#findComment-574539 Share on other sites More sharing options...
runnerjp Posted June 26, 2008 Author Share Posted June 26, 2008 humm ok is there a name for it i can search on google? Quote Link to comment https://forums.phpfreaks.com/topic/111904-update-mysql-db/#findComment-574890 Share on other sites More sharing options...
Jabop Posted June 26, 2008 Share Posted June 26, 2008 humm ok is there a name for it i can search on google? Javascript, Ajax, php, mysql. That'll get you all you need. Quote Link to comment https://forums.phpfreaks.com/topic/111904-update-mysql-db/#findComment-575309 Share on other sites More sharing options...
Wolphie Posted June 26, 2008 Share Posted June 26, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/111904-update-mysql-db/#findComment-575483 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.