Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6786399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:14:25+00:00 2026-05-26T17:14:25+00:00

I have a list that I need to spell check before adding it to

  • 0

I have a list that I need to spell check before adding it to the database:

<table>
  <tr> 
    <td>1-1 Some text </td> <td> 1-2Some more text</td>
  </tr>
  <tr> 
    <td>2-1 Some text </td> <td> 2-2 Some more text</td>
  </tr>
  <tr> 
    <td>3-1 Some text </td> <td> 3-2 Some more text</td>
  </tr>
</table>
<button> Import list to database </button>

My idea is this, using jQuery:

When I click the text in 2-1, it will be “replaced” by a text box so that I can edit the text.

What is the bestway to achieve this?

Would I need a hidden field containing a <input type="text" field?
Would that be the easiest and most elegant way of doint it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T17:14:26+00:00Added an answer on May 26, 2026 at 5:14 pm

    If you modify your markup to include the input box then when you go to replace the “static” string with the text() function you will need to work around that the element also has an input element.

    A better approach may be to leave your markup as is and use jquery to swap in and out a tetxbox as needed into the cell.

    So when a user clicks the cell, you do the following

    1) Read the current value useing the text() function
    2) Replace the current value with a newly created tag

    When the user hits ENTER (or whatever other method for signifying editing is done) do the following

    1) Read the current input value using val() function
    2) Remove the tag
    3) Put the value back in the cell using the text() function

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a list that I need to send through a URL to a
I have a list of images that need to be displayed. However theres only
I have a drop down list that has options that need to be passed
I have a list of items that I need to update on different intervals.
I have an object in a list that I need to rank several different
I have a list of values such as 12000,12345,123456 that need to be converted
I have a list wrapper that maintains two Tstringlists and a TClassList I need
I have a list/queue of 200 commands that I need to run in a
I have a list of callback functions that I need to invoke when an
I have a list of xml elements that i need to search for specific

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.