• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

populating a form from a table ( edit button)


I have a table  with multiple rows ; each row has a edit button
and when someone clicks the edit button I want to populate a form to show him details about that row
The form is on the same page!!!!!!!!
Can someone pls refer me to some sample code

Thanks for all ur help!
2 Solutions
either have your edit button send a request to the server to populate the form
or use javascript to populate it without sending a request
royalcyberAuthor Commented:
rather than reinventing the wheel can I folow an example

thnakyou for all ur help
Mayank SAssociate Director - Product EngineeringCommented:
>> The form is on the same page!!!!!!!!

Keep invisible text-boxes on the form. When the edit button is clicked, make them visible and populate them with the initial data (which was otherwise displayed on the table). When the user updates it and clicks on some button, submit the request to the server.
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now