Hello Friends How can i update the textbox values with new values when i have already values in textbox in php

I don't understand what you mean by "update the textbox values with new values when i have already values in textbox in php ", but I think you are calling for AJAX.

Existing textbox values can be changed with javascript. Get the element by it's ID and change its value property:

document.getElementById(myTextBoxId).value = 'This is my new value';

But i have to update that field in database also

I do not exactly understand the question. Do you want to update the database with the value that user has enetered in the input box?

How can we create the n level of depth category and sub category tree in php