The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

{USERNAME*} Function in Javascript?

View previous topic View next topic Go down

Solved {USERNAME*} Function in Javascript?

Post by Neymar1 on 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
avatar
Neymar1
Forumember

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

http://www.simplyfifa.com

Back to top Go down

Solved Re: {USERNAME*} Function in Javascript?

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

Hello,

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

Male Posts : 2298
Reputation : 98
Language : English, French, Italian, Spanish, Latin

Back to top Go down

Solved Re: {USERNAME*} Function in Javascript?

Post by LGforum on 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.
avatar
LGforum
Hyperactive

Male Posts : 2262
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: {USERNAME*} Function in Javascript?

Post by Neymar1 on 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
avatar
Neymar1
Forumember

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

http://www.simplyfifa.com

Back to top Go down

Solved Re: {USERNAME*} Function in Javascript?

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

Topic Solved & Locked




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

avatar
SLGray
Administrator
Administrator

Male Posts : 40514
Reputation : 2733
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum