Hi,
I'm using the ASP.NET MVC Framework, jQuery and Ajax calls to do some Partial view rendering based on client input, my issue is that some of the scripts requires by the partial view rely on the ready
event, raised by jQuery.
The scripts, both external, and on in the view are being loaded without issue, but as the page is already loaded, the ready event is never fired.
Is there a way to pre-process the scripts (loaded using $.ajax
with it's async
property set to false
) and do something to get the ready event to fire?
Either that or should be looking a way to inform the main page that there's a method that needs to be run, in other words create a framework for calling initialisation methods dynamically when they're pulled from the server using Ajax and work with the ready event for when they come down as part of the page?
Thanks,
Kieron