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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:40:22+00:00 2026-05-11T05:40:22+00:00

Here is my view source: <input id=ctl00_cp_ctrlNew_lendeeMe type=radio name=ctl00$cp$ctrlNew$whoBorrowed value=lendeeMe /> And I am

  • 0

Here is my view source:

<input id='ctl00_cp_ctrlNew_lendeeMe' type='radio' name='ctl00$cp$ctrlNew$whoBorrowed' value='lendeeMe' /> 

And I am trying to use this selector to check one of them, but it is not working:

$('input[@id$='lendeeMe']').attr('checked','checked'); 

but if I do this, it works fine:

$('#ctl00_cp_ctrlNew_lendeeMe').attr('checked','checked'); 

That is due tot he crazy way asp.net makes controls, so I figured using the previous selector would be easier. What am I doing wrong?

  • 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. 2026-05-11T05:40:22+00:00Added an answer on May 11, 2026 at 5:40 am

    What version of jQuery are you using?

    Because as said here:

    Note: In jQuery 1.3 [@attr] style selectors were removed (they were previously deprecated in jQuery 1.2). Simply remove the ‘@’ symbol from your selectors in order to make them work again.

    So maybe you want to simply try:

    $('input[id$='lendeeMe']').attr('checked','checked'); 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

you can view full source code here dpaste.com/hold/167199 Error: delete() takes exactly 2 arguments
if you go here: http://whois.domaintools.com/iconplc.com and view the source why can't you see the
I need to draw a counter onto an OpenGL view. Here is my source
Here is fragments of my HAML view: %script{:type => text/javascript, :src => assets/application.js} :javascript
Hi everyone, here am trying to display the source code of a particular div
I need to give a default value for input type=text field as follows: <input
By 'view' here I mean different combinations of properties of the model, not the
I am Developing an application which consists of video-view,Here is my problem when I
I using coda slider in my page. View it here: http://www.ndoherty.com/demos/coda-slider/1.1.1/ Each tab causes
Here's the jquery from my view: $(#btnSelect1).click(function () { var donationTypeID = $(this).closest('p').find('#selectList').val(); var

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.