I have created a page Main.html in witch there is a ViewModel. In this page there is a button that open a Window Modal and load in it a html page in ajax.
I want to use the viewmodel of the main.html in my window modal, but if I call the viewmodel it do error..
Does someone know how can I resolve?
ajaxit uses aniframefor containing it. For accessing container page data from aniframetake a look into stackoverflow.com/a/1301645/1802671 - OnaBai