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

  • SEARCH
  • Home
  • 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 820171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:25:58+00:00 2026-05-15T02:25:58+00:00

How do you calculate the number of input boxes with no value in a

  • 0

How do you calculate the number of input boxes with no value in a table row using jquery?

example:

<table id="table1">
<tr class="data" id="row5">
<td><input type="text" value="20%" /></td>
<td><input type="text" value="10%" /></td>
<td><input type="text" value="" /></td>
<td><input type="text" /></td>
</tr>
<table>

I’m looking for answer = 2

  • 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-15T02:25:59+00:00Added an answer on May 15, 2026 at 2:25 am

    Even that the OP claimed the answer as correct and working, this comes from the api doc:

    Some other elements, on the other hand, are empty (i.e. have no children) by definition: input, img, br, and hr, for example.

    So actually, it should be impossible to do it with the :empty selector.

    $('input:empty').length
    

    or to be more specific:

    $('#table1').find('input:empty').length
    

    even more specific:

    $('#table1').find('input[type=text]:empty').length
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want a jquery source to calculate my form <form> <input type=radio name=type value=1000>
How to calculate number of Tuesday in one month? Using calender.set we can set
How can I calculate the number of differences between two NSStrings. Example: NSString 1
How do you calculate the number of weeks between two dates? for example as
I need to calculate the number of decimal places for a float value, e.g.
I've an html page which has many dynamically created input boxes. The number of
I have this code: <div> <input id=number type=text /> <select id=Selection name=D1> <option>Plus 1</option>
About sums up the number using command line arguments. For example java sum 1
<SCRIPT Language = JavaScript> function calculate() { a = 12 b = eval(document.form.number.value) c
How do I calculate number of years since product was made (rounded to 1

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.