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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:57:50+00:00 2026-06-15T09:57:50+00:00

We just upgraded our code to .Net 4.5 and are using VS2012 now, but

  • 0

We just upgraded our code to .Net 4.5 and are using VS2012 now, but some jQuery code doesn’t work anymore. For example, in a page we have a checkbox within a DataGrid.

Code to get the list of checkboxes:

$('input:checkbox[id$=MappingGrdCb]').each(function() {
    //....
}

This works fine in VS2010, $('input:checkbox[id$=MappingGrdCb]') returns an array of checkboxes, but in VS2012, it’s empty.

Anybody can help me on this? thanks a lot!

  • 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-15T09:57:52+00:00Added an answer on June 15, 2026 at 9:57 am

    Instead of ends with selector try this Attribute contains selector

    $('input:checkbox[id*="MappingGrdCb"]') 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We just recently upgraded all our code base to .net 4.0, and are trying
We just upgraded our compiler to gcc 4.6 and now we get some of
I just upgraded one of our web apps to ASP.NET 4.0. It is using
We just upgraded our app to Rails 3.2.2 and are now having a routing
I just upgraded packages in an MVC 3 project (ASP.net 4), and now I
We just recently upgraded from VS2008 to VS2010. Our project compiles fine; but when
Our desktop-only product at work has been using JDK 1.4.2 until now (also 1.4.2
We have just converted our website to run on .NET 4 and upgraded our
We just upgraded some of our apps (from 1.3) to cakephp 2.2 and refactored
I upgraded our JQuery-UI from 1.8rc3 to 1.8.6 and now I am having major

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.