How would I submit the value and id not to a php file like save.php (which contains codes that would save immediately the new value) but to a function?
Because I can get the whole page when I edit a certain element. Maybe because I post the value and id into a function....