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

The Archive Base Latest Questions

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

My IDE complains the usage of value like in the below YUI statement is

  • 0

My IDE complains the usage of value like in the below YUI statement is deprecated.. it works, still, what is the proper usage.

  var idValue= document.getElementById('id').value;

thanks..
Babu

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

    That’s a perfectly valid statement, not sure what your IDE is having a problem with here. Various libraries have shortcuts for this (syntax shortcuts, not performance shortcuts), but none of that prevents the core JavaScript functionality from working, it’s 100% valid.

    I guess it’s expecting the YUI style:

    var element = new YAHOO.util.Element('id');
    var idValue = element.get('value');
    

    …but either method works, use whichever you want. I would prefer the shorter core javascript syntax here.

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

Sidebar

Related Questions

Running with Ruby 1.9.2 The IDE complains that The gem ruby-debug-base19x is required and
Basically, I'm trying to compile CEF on VS2008 EE. The IDE complains that it
My IDE, RubyMine, says this is potentially incorrect: function update_top_up_prices_via_localStorage(){ var index = localStorage.getItem(volxs);
Why do IDE's complain about leaking this in constructor? I've always assumed that it's
IDE = VS7 or 2002 Hi all, I have a really weird problem here.
IDE,SCSI,SSD,SATA or all of those.
IDE: Delphi 1 16-bit (Yeah it's old, no I can't afford a newer version
My IDE has been working very well, until today. When I try to compile
My IDE is expecting a semicolon but I'm not sure where! It is this
In Scala IDE I get the following error about the class I am to

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.