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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:20:01+00:00 2026-05-30T20:20:01+00:00

I have a table with with four fileds as shown in figure Semester |

  • 0

I have a table with with four fileds as shown in figure

Semester | Exam Status | GPA | Fee Status

My question is that: When I change the value in Exam_Status the Select tag-> is not cleared then G.P.A field can be removed on this, and when I select Cleared it can show me G.P.A field.

working table picture

HTML code which generate folloing piture output is following

<table cellspacing="0" cellpadding="0" border="0"> 
    <thead> 
       <tr>
           <th>Semester</th>
           <th>Cleared/Not Cleaerd</th>
           <th>G.P.A</th>
           <th>Fee Status</th>
       </tr>
    </thead>
    <tbody>  
       <script type="text/javascript"></script>
       <tr>
           <td>1<sup>st</sup> Semester</td>
           <td>
               <select name="fexam_status" id="waqas">
                   <option selected="selected">Select Here</option>
                   <option value="Cleared">Cleared</option>
                   <option value="Not Cleared">Not Cleared</option>
               </select>
           </td>
           <td>
               <div class="gpa" id="work">
                  <div class="right">
                     <input class="spin-dec" type="text" name="fgpa" value="3.00" min="1.00" max="4.00" />
                  </div>
               </div>
           </td>
           <td>
        <select name="ffee_status">
                                <option value="Cleared">Cleared</option>
                                <option value="Not Cleared">Not Cleared</option>
                                </select>
                                <a class="deleteRow" style="margin-left: 10px;"><img src="gfx/deletered.png" /></a>
                                </td>


                            </tr>

                            <tr>

                                <td>2<sup>nd</sup> Semester</td>

                                <td>
                                <select name="sexam_status">
                                <option selected="selected" value="Cleared">Cleared</option>
                                <option value="Not Cleared">Not Cleared</option>
                                </select>
                                </td>

                                <td>
                                <div class="gpa">
                                <div class="right">
                                <input class="spin-dec" type="text" name="sgpa" value="3.00" min="1.00" max="4.00" />
                                </div>
                                </div>
                                </td>

                                <td>
                                <select name="sfee_status">
                                <option selected="selected" value="Cleared">Cleared</option>
                                <option value="Not Cleared">Not Cleared</option>
                                </select>
                                <a class="deleteRow" style="margin-left: 10px;"><img src="gfx/deletered.png" /></a>
                                </td>

                            </tr>

                            <tr>

                                <td>3<sup>rd</sup> Semester</td>

                                <td>
                                <select name="texam_status">
                                <option selected="selected" value="Cleared">Cleared</option>
                                <option value="Not Cleared">Not Cleared</option>
                                </select>
                                </td>

                                <td>
                                <div class="gpa">
                                <div class="right">
                                <input class="spin-dec" type="text" name="tgpa" value="3.00" min="1.00" max="4.00" />
                                </div>
                                </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>

and similarly when i select Fee_Status-> not cleared it can show me a input tag insteat of SELECT TAG in FEE STATUS

  • 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-30T20:20:03+00:00Added an answer on May 30, 2026 at 8:20 pm

    Here’s a quick solution:

    http://jsfiddle.net/y45ZF/2/

    It currently only works for the Cleared/Not Cleared drop downs, not for the Fee drop downs, but you get the point. The only change to your HTML code was that I added the “examStatus” class to the select elements to be able to treat them all in a unified way.

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

Sidebar

Related Questions

I have four different tables, one main SPECIAL table containing only id's that reference
i have four tables user-question contains two columns: questionID, userID, the questions that the
I have a table with four fields that are usually filled in: `animal` -
I have these four table assume that ring table consist of five fields(jewelry_id,ring_id,image,type,brand_id) Note
I have a table with four Columns: Col1, Col2, Col3, and Col4. Col1, Col2,
I have replaced a table containing four tables (in a grid) with a div-table
I have a table with one column and four rows. Each tr has a
In my app I have a scroll view and four table views. Each time
I used JPA and mysql. Each table have entity class.I have four tables. Table1
I have a fairly static (InnoDB) table T with four columns: A , B

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.