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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:34:13+00:00 2026-06-12T17:34:13+00:00

I have a CSS id #cross-reference-section-value set to display: none . It hides the

  • 0

I have a CSS id #cross-reference-section-value set to display: none. It hides the label field in the HTML. I have JavaScript code to select the value and store it into the the hidden element like this:

var generic_lookup_Enr_Rds_Section2009_selected = function(id, to_s) {
      $("#cross-reference-section-value").text(id + " " + to_s);
      $("#modal_popup").dialog("destroy");
  };

Now I want to enable or remove that attribute of display: none using JavaScript to make it visible to display the value. And one more thing is I have selected the id and string value. Is it possible to display only the string not the id? But the id should be hidden. Because I am calculating the other fields through this id. So, I just want to hide this id and show the string. 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-12T17:34:14+00:00Added an answer on June 12, 2026 at 5:34 pm

    You can try $("#cross-reference-section-value").show() or something like $("#cross-reference-section-value").css('display', 'block').

    I don’t think you can just show the string though, seems like this is extra logic that needs to be added in the js code.

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

Sidebar

Related Questions

I have css like this: .done {list-style-image:url('images/tick.gif')} .notdone {list-style-image:url('images/cross.gif')} And html like this: <ul>
i have css look like below ul.sometclass li a { display:inline-block; } my html
For text links, I have: CSS: a:link {color: #3366a9; text-decoration: none} a:hover {border-bottom: 1px
i have this css code, and i want to shorten it. #one{ background: #6cab26;
I have some CSS and HTML for horizontal tabs that works perfectly in jsfiddle.
many people write css but they don't have good command for writing cross browser
I've been learning about CSS Sprites. I have been skeptical because cross-browser compatibility is
I am creating a horizontal legend in html/css. I have a colored box with
Is it possible to have one CSS class reference another? Instead of rewriting all
I have a cross-browser CSS gradient, such as this: #background { background: #1E5799; /*

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.