Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Seweb_Francesca 16 posts 86 karma points
    Nov 11, 2016 @ 09:52
    Seweb_Francesca
    0

    javascript

    Alert Javascript does not work!!! please how i can resolve?

  • Steve Morgan 1349 posts 4458 karma points c-trib
    Nov 11, 2016 @ 10:10
    Steve Morgan
    0

    Hi Seweb,

    What are you trying to do? Umbraco allows you to output HTML / JS / CSS etc as you would in any template.

    Show us your template code. Do you have an error?

    Steve

  • Seweb_Francesca 16 posts 86 karma points
    Nov 11, 2016 @ 10:12
    Seweb_Francesca
    0

    I have put this in a Script:

    $(document).ready(function() { alert("A"); .......

    A Template include this script but the Alert does'not start

  • Seweb_Francesca 16 posts 86 karma points
    Nov 11, 2016 @ 10:34
    Seweb_Francesca
    0

    maybe i have resolved i have put in the wrong line in the template

  • Steve Morgan 1349 posts 4458 karma points c-trib
    Nov 11, 2016 @ 10:41
    Steve Morgan
    0

    We've all been there.

    If you're ever not sure view the source of the page... and run an html validator over it. Firefox's / Chrome's dev tools are also essential.. usually it's just a Javascript typo.,

  • Seweb_Francesca 16 posts 86 karma points
    Nov 11, 2016 @ 11:10
    Seweb_Francesca
    0

    thanks

Please Sign in or register to post replies

Write your reply to:

Draft