I have defined a $(document).ready() event in Site.Master page and I also want to define another $(document).ready() in one of my partial view (which is use to display msgs and error msgs), and I am calling this partial view in all pages and all partial view ...
the partial views are displayed in the page and also using modal popup ... so I tried to this but the ready event in partial view is not firing
I have few things to ask:
- first, is it possible to do what i am trying to do ...
- there are pages which have partial view and because of it a page has two $(document).ready() events so when the page is loaded, is there be any clashes between these two events ...
and if some body can provide wth some example ...