The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
4 posters

    {USERNAME*} Function in Javascript?

    Neymar1
    Neymar1
    Forumember


    Male Posts : 406
    Reputation : 28
    Language : HTML, CSS, and a bit of JavaScript
    Location : Scotland

    Solved {USERNAME*} Function in Javascript?

    Post by Neymar1 April 8th 2012, 5:55 pm

    Can I use the following: (without the star)

    {USERNAME*}

    In javascript coding? Because it doesn't let me...


    Last edited by Neymar1 on April 9th 2012, 12:21 am; edited 1 time in total
    Niko
    Niko
    Helper
    Helper


    Male Posts : 3231
    Reputation : 248
    Language : English, Italian, French
    Location : Italy

    Solved Re: {USERNAME*} Function in Javascript?

    Post by Niko April 8th 2012, 6:14 pm

    Hello,

    if you can... Can you share the javascript code?
    Thanks (:
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: {USERNAME*} Function in Javascript?

    Post by LGforum April 8th 2012, 6:34 pm

    You can't use it in a JS file.
    But you can use it in scripts that are within the HTML of the page.
    Aka, inside script tags in an announcement.
    Neymar1
    Neymar1
    Forumember


    Male Posts : 406
    Reputation : 28
    Language : HTML, CSS, and a bit of JavaScript
    Location : Scotland

    Solved Re: {USERNAME*} Function in Javascript?

    Post by Neymar1 April 9th 2012, 12:20 am

    LGforum wrote:You can't use it in a JS file.
    But you can use it in scripts that are within the HTML of the page.
    Aka, inside script tags in an announcement.

    Ok thanks Smile
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: {USERNAME*} Function in Javascript?

    Post by SLGray April 9th 2012, 1:36 am

    Topic Solved & Locked





    {USERNAME*} Function in Javascript? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is September 22nd 2024, 10:38 pm