views:

76

answers:

1

Hi everybody, how's it going ?

I'm trying to open an dialog component of jquery ui and load the content of the dialog with Ajax (partial view of asp.net mvc) and it's working good. But, the content of Dialog has some javascripts and when the scripts inside the dialog are executed, the behine page lost the style and content disapier showing only the content of the dialog =/... somebody know how can I resolve this ?

I'd like to show the content like a Dialog of Windows SO with some funcionalities in javascript...

Thanks guys Att,

A: 

Add the javascript that is contained in the partial into the callback of your load event when you get the html of that page. It should execute fine.

Zacho