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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.