Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Hour glass while page loading in crm

$
0
0

I wrote the below code in a html web resource and calling this webresource on form in MSCRM online 2016.

code:

<html><head>
<script src="ClientGlobalContext.js.aspx"></script>
<script src="new_ jquery_1.9.1.min" type="text/javascript"></script>
<script type="text/javascript">   
function unloading()
        {
            document.body.style.cursor = 'wait';
        }

</script>

<meta charset="utf-8"></head>

<body onbeforeunload="unloading();" onunload="unloading();"></body></html>

Problem: when I am saving this code body in the code is replacing by <body><br></body>

Why body is not working?

when I put a input button in body..the above code is working..but only when I use onbeforeunload only my code is not working??

Is there any thing that I am missing??


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>