I apologize if this isn't the correct area on the forum for this.

However I need to make a javascript function that on page load clears all textboxes. then when a single textbox is clicked all other textboxes are disabled until the user has finished and hit the "save button", then all textboxes are enabled again.

I have no clue how to do this. Any help would be greatly appreciated.