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 8154761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:27:43+00:00 2026-06-06T16:27:43+00:00

Hi I have a datatables based table that holds data. I need to be

  • 0

Hi I have a datatables based table that holds data. I need to be able to get the values out of the following string that I have been able to do so far.

<input name="jobNo" value="job_no_123" />job_no_123

I need to be able to get the name and the value and store into separate variables that I then pass off to do something else.

However I do also have another 4 fields on the page that I need to capture too:

<input name="item_1" value="data1" />data1
<input name="item_2" value="data2" />data2
<input name="item_3" value="data3" />data3
<input name="item_4" value="data4" />data4

And of top of this, this would only be the data from one row, and I need to do this for multiple rows too. But I need to start somewhere.

Please help.

Thanks

  • 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-06-06T16:27:44+00:00Added an answer on June 6, 2026 at 4:27 pm

    I am not sure what are your needs but here is a code that should help

    $('input').each(function(i, val){
        $(this).attr('name'); // will get the attribute name
        $(this).attr('value'); // will get the attribute value
        $(this).attr('text');  // will get the text inside the input
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a DataTable object that contains all the data for a Table visualization.
I have a data table I've loaded from a CSV file. I need to
I have a DataGridViewComboBoxColumn in a DataGridView that's based on a lookup table. The
I have a table.From that table i am selecting rows Based on the key
I have xml file with data that i have to display in table. Now
I have 2 datatables in a dataset. One table has a list called CostTypes.
I have a DataSet with some DataTables that are linked together with DataRelations (classic
We have an application that takes real time data and inserts it into database.
I have an SQL Server (2008 R2) based (C# WinForms) application that predominantly runs
I have a process that extracts customer info from multiple databases (MySql) based on

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.