473,413 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

html table Edit and Delete

Is there a way to edit a html table row by clicking one of the button in one of the in the table.i want the cell values separately out in text box.after modifying and submitting the values it must be modified in the table.How?help me
Sep 13 '06 #1
3 10704
JohannC
15
Is there a way to edit a html table row by clicking one of the button in one of the in the table.i want the cell values separately out in text box.after modifying and submitting the values it must be modified in the table.How?help me
What Programming Language are you using ?
.Net has a Control called a datagrid which will work great for this purpose, but you can do this in html by giving each row an ID and checking which row was clicked , once you know which row was clicked you can get the text out of the Table Cell by Using the Dom Object <------- Google This . You can create a <input type = text > on the onclick and set the text of the newly created textbox to the Cell Text for editing.

Then by saving you can then set the cell text back to the textbox text.
Sep 13 '06 #2
What Programming Language are you using ?
.Net has a Control called a datagrid which will work great for this purpose, but you can do this in html by giving each row an ID and checking which row was clicked , once you know which row was clicked you can get the text out of the Table Cell by Using the Dom Object <------- Google This . You can create a <input type = text > on the onclick and set the text of the newly created textbox to the Cell Text for editing.

Then by saving you can then set the cell text back to the textbox text.
i am not using datagrid as in .net.i am using only html tables.I need to edit and delete a record on the database through the this table using edit and delete button in each row.i need samples and i cant understand this.i am new to javascript,please...
Sep 14 '06 #3
i am not using datagrid as in .net.i am using only html tables.I need to edit and delete a record on the database through this html table using edit and delete button in each row(similar to datagrid edit and delete).i want to do it in javascript(not any other third party tools).i need samples and i cant understand this.i am new to javascript,please...
Sep 14 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Ghazan Haider | last post by:
When you have a long string like aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa in an html table, it pushes the table out so you have to scroll...
10
by: nick_faye | last post by:
Hi guys, i'm still a newbie in using MS Access and in VB programming. I am using DAO connection from my VB to access the entries on my MS Access table. I am having trouble in editting and...
7
by: Lorenzino | last post by:
Hi, I have a problem with bindings in a formview. I have a formview; in the insert template i've created a wizard control and inside it i have an HTML table with some textboxes bound to the...
6
by: polocar | last post by:
Hi, I'm writing a program in Visual C# 2005 Professional Edition. This program connects to a SQL Server 2005 database called "Generations" (in which there is only one table, called...
16
nirmalsingh
by: nirmalsingh | last post by:
hai experts, i am having page called main.html, when the user clicks a button in this page a popup window of pop.html is opened. in pop.html user enter his name and close that popup window. now...
6
by: djjohnst | last post by:
I am creating a program that will list program times for people who visit our website. Users can login create, edit, delete a program. These dump into a database. The ASP webpage then reads from...
5
by: keeps21 | last post by:
A little problem I've run into is the following. I have a script that allows a user to edit a story. I have an HTML form for title and main_text which gets it's values by pulling the selected...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
5
by: handoyo | last post by:
Hi all,i'm trying to show updated data in existing html td.. For example i got column that show last modified datetime,then i want to update data again,the column will changed to current time without...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.