Editing The HTML Document In Browser

How to Change Display Form Into Editable Form In HTML?
In lotus Notes U can view The document in various modes.Please Supply some usefull code .
vipin072998Asked:
Who is Participating?
 
rafisternCommented:
You can do the following to view the source of an HTML document:

In MS Internet Explorer:
Right-click and select "View Source"

In Netscape 3:
Select from menu "Page Source" or "Frame Source"

In Netscape 4:
Right-click and select "Page Source" or "Frame Source"

0
 
vipin072998Author Commented:
Dear rafistern,
I am not talking of viewing Source Of HTML ,but to change the mode of HTML from display to Edit.
i.e if u are displaying data retrieved from the database in a table.If someone wants to update any of the table row then he has to go from display mode to edit mode to make changes to that particular row.How to do it.

Vipin
0
 
rafisternCommented:
You cannot edit html code in any one of these browsers.

However this is not what you want to do. What you want is to develop a server-side (cgi or asp) application that receives the contents of the fields and processes them. This is something completely different.

To explain:
You have a database on your server. You write a program that runs on the server and sends a page of data on demand to the client. This called a cgi script.
When the client receives the data, he gets it in a form with editable fields. These are a standard html feature. The client makes his cahnges and enters his data and then submits the form back to the server where another cgi script processes the data, updates the database and sends a response to the client - maybe a thank you note or an updated view of the data.

The programming to do this is complex and server/application/database specific. To write this kind of thing - even simply - is a project. I suggest that if you want to get into this that you get a good book on ASP (if you have a NT server), Perl or PHP all depending on the software installed on your server.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.