Skip to content Skip to sidebar Skip to footer

Change Value Of

In Partialview

I have PartialView with

Here is code

Test

I load partialView into div via this js code $(document).on('click',

Solution 1:

load() is asynchronous. Use the complete callback so the new html is loaded before you try to access it

$('#left-window').load('@Url.Action("Findings", "PatientDatabase")', function(){
  // new html exists now
  $('#findings-date').text(findingval );
});

Post a Comment for "Change Value Of

In Partialview"