HTML5 and canvas

Discussion in 'HTML / PHP / JavaScript / CSS' started by cylentwolf, Sep 21, 2010.

  1. I am having an issue using html 5 and the canvas tag. It works fine locally on my machine but when I upload it to the website it just gets ignored. or more specifically it doesn't ever get picked up by document.getelementbyID so I can't draw to it.

    anyone have any answers? or if you need clarification to help me please let me know.

    thanks in advance.
     
  2. More information. It isn't even running an alert. I placed the following at the end of my script block:
    $(document).ready(alert("test this now"));
    nothing.
     
  3. I figured out why. It wasn't liking $(document) via jquery. So removed that and it worked.

    course now I get to figure out why jquery isn't working but maybe i'll just trim that code out.
     
  4. mjp

    mjp

    Thanks for posting the fix.
     

Share This Page