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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T17:02:13+00:00 2026-05-14T17:02:13+00:00

I have a webpage using jquery 1.42 The following 2 segments of code live

  • 0

I have a webpage using jquery 1.42

The following 2 segments of code live in my page.

$('body').delegate('h2', 'click', function() {
    $(this).after("<p>delegate paragraph!<\/p>");
});

$('body h2').live('click', function() {
    $(this).after("<p>live paragraph!<\/p>");
});

The live method always works, yet the delegate doesn’t fire at all.

If I create a trivial page with simple html

<body><h2>blah</h2></body>  

both approaches work. So I’m assuming there is something else going on in my page.

With firebug I am seeing no javascript errors, no html errors. and breakpoints on the delegate method definately do not get hit.

What else might be the cause of delegate not triggering?

EDIT: heres the list of other scripts on the page:

<script type="text/javascript" src="/Scripts/jquery-1.4.2.js"></script>
<script type="text/javascript" src="/Scripts/2010.1.416/telerik.common.min.js">   </script>
<script type="text/javascript" src="/Scripts/2010.1.416/telerik.textbox.min.js"></script>
<script type="text/javascript" src="/Scripts/2010.1.416/telerik.grid.js"></script>
<script type="text/javascript" src="/Scripts/2010.1.416/telerik.grid.filtering.min.js"></script>
<script type="text/javascript" src="/Scripts/2010.1.416/jquery.validate.min.js"></script>
<script type="text/javascript" src="/Scripts/2010.1.416/telerik.grid.editing.min.js"></script>
  • 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-14T17:02:13+00:00Added an answer on May 14, 2026 at 5:02 pm

    It appears as the toolset I was using, Telerik ASP.NET MVC controls 2010.1.416 had a reference to jquery.validate.min.js

    The version of the file they ship is 1.5.5

    Updating this version to 1.7 and delegate is again working as expected.

    /smack.

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

Sidebar

Related Questions

I currently have the following JavaScript/jQuery script that gets an external html page using
I have the following code in a controller: $this->viewdata->scripts = array( 'http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js', 'jstree/jquery.jstree-1.0-rc2.js', 'jquery.hotkeys-0.8.js',
This is a JavaScript/Ajax webpage (also using jQuery). I have a nested structure I
I am working on a web page that is using jQuery. I have an
I have a webpage at http://www.optiekmeulemeester.be/normal with sliding navigation. This happens with the following
My jQuery code (using ajax) request's data from a local php script (pgiproxy.php). This
I have the following JQuery function being attached to the blur event of n
I have an javascript that I place into a page using the code below.
I have a web page that is using the following META tag: <META HTTP-EQUIV=refresh
I am using jquery jscrollpane (http://jscrollpane.kelvinluck.com) on my webpage. I have couple of partial

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.