Careful with Microsoft.Dynamics.NAV JavaScript object – 7/3, Navigate Into Success

Make sure that you don’t access the Microsoft.Dynamics.NAV JavaScript object before the document ready event fires. If you do so, you might experience problems on Chrome when the user refreshes the browser (F5). It appears that on refresh Chrome loads (and runs) scripts in different order, and depending on how complex scripts included in your project are, your code might get executed before Microsoft’s script is loaded, and it will cause nasty script errors. This occurs only on Chrome on PC.


Read this post at its original location at http://vjeko.com/blog/careful-with-microsoft-dynamics-nav-javascript-object, or visit the original blog at http://vjeko.com. 5e33c5f6cb90c441bd1f23d5b9eeca34

The post Careful with Microsoft.Dynamics.NAV JavaScript object appeared first on Vjeko.com.

..

Continue reading on Source Blog

Powered by WPeMatico