Skip to main content

Microsoft Silverlight

Answered Question javascript doesn't work in silverlightRSS Feed

(0)

TheRekz
TheRekz

Member

Member

4 points

40 Posts

javascript doesn't work in silverlight

I have the following code and I did put it inside the testpage.aspx file and it doesn't give me an alert when the mouse is moved.. Why??? <script type="text/javascript"> document.onmousemove = manageVideo; function manageVideo() { alert("Hello World"); } </script>

mrjvdveen
mrjvdveen

Participant

Participant

1937 points

366 Posts

Answered Question

Re: javascript doesn't work in silverlight

 It doesn't fire, because an html document does not have a onmousemove event, as you can read here. I also don't think that this is a Silverlight question, so it shouldn't be in the Silverlight forum.

-------------
Please mark a post as answer if it answers your question.
Visit my blog: http://jvdveen.blogspot.com
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities