Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
Javascript not loading second time in partial View inside partial View

I am using the Asp.Net MVC project with jQuery, javascript, and HTML with partial view. Following is my code snippet explanation.

I have a main view called Class.cshtml and inside this main page, I am loading edit partial view on ajax load and binding the HTML inside one div. Let's call this a First Partial View. In the First Partial View, the javascript is loaded successfully but in First Partial View I am also loading another second partial view so when I click on edit from the list it loads that First Partial View and load the javascript successfully but upon second click it is not loading the First Partial View js.

Main Page: enter image description here

Upon first click First Partial View load successfully. enter image description here

Upon second click it is not loading the javascript where values ate binding properly. enter image description here

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!