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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:33:41+00:00 2026-06-10T21:33:41+00:00

Here is my scenario… i’m using partial views to load a page. To load

  • 0

Here is my scenario…

i’m using partial views to load a page. To load to partial view on the page I use the JQuery method

$("#elementA").load("myMethod")

myMethod does an ajax call which returns my partial view with a list of objects. All this works fine. The problem is that inside one of my partial views i have a click event that should fire

$("#elementB").modal() 

After i call

$("#elementA").load("myMethod")

the

$("#elementB").modal() 

method does not respond…

The same

$("#elementB").modal() 

works if i don’t use the load() function but then i dont know how to refresh the list after a new element is added to my database without using the $("#elementA").load("myMethod")….

I would apreciate any help with this. Thank you.

  • 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-10T21:33:42+00:00Added an answer on June 10, 2026 at 9:33 pm

    You need to make sure you have your click events bound using something like on() (or live in older versions of jQuery, though on is now preferred).

    This would ensure that any elements added to the page after the initial binding is made will also be subject to the same event handler.

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

Sidebar

Related Questions

Here the scenario : A method is called each minute by a timer. This
Here's the scenario. When a user's login info is submitted, activityIndicator view is shown.
Here is the scenario: I have 1 master page and web-forms in that master
I am using Backbone.js to load 20 items at a time on the page,
Tackling a strange scenario here. We use a proprietary workstation management application which uses
Let me try to set the scenario here first. This is done using ASP.NET
Here the scenario is I have many .aspx pages if any page gives error,
Here is my scenario: Main VC : Scroll View : [Multiple] MyPage : [Multiple]
Here's the scenario - I have a page, within which there is a link
I know how to write tab host,but here the scenario is little bit different

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.