Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
485
Separate js file
posted

How can I write this code:

    <script type="text/javascript" id="igClientScript">     
        function showModalWin(w)
        {
            var w = $find('<%= modalwindow.ClientID %>');
            w.set_windowState($IG.DialogWindowState.Normal);
        }
    </script>

in a separate js file?.

Thaks.

 

Parents
  • 28407
    posted

    HI,

    create a file with that code call it WDW.js and add the following script code to your aspx page

    <script src="WDW.js" type="text/javascript">
    </script>

Reply Children