Posted on: 7/15/2012 12:46:34 PM | Views : 256

I created a function in JavaScript, onscroll(), which runs on my computer. However, when up on the server, it doesn't appear with another computer.
My code looks like:
<asp:Content ID="Content6" runat="server" contentplaceholderid="ContentPlaceHolder6"> <script type="text/javascript" language="javascript"> document.body.onscroll = function() { document.getElementById('<%=ImageButton1.ClientID %>').style.marginTop = document.documentElement.scrollTop + "px"; }; </script> </asp:Content> Only on my computer, jscript runs. All other computers, function onscroll doesn't appear! I've set jscript enabled on 1 other computer, but it still doesn't work
I think I lost a JavaScript library on the server? Please help me!
...

Go to the complete details ...