1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

I am trying to insiert a variable into a javascript return value and it wont parse

Discussion in 'Programming' started by IamNed, May 3, 2012.

  1. #1
    I am trying to insiert a variable into a javascript return value and it wont parse

    it just shows +'randomnumber' instead of the actual random number
    Code (markup):

    IamNed, May 3, 2012 IP
  2. e-abi

    e-abi Member

    Likes Received:
    Best Answers:
    Trophy Points:
    Try using double quotes (") instead of single quotes (').
    Otherwise it is not possible to help you, since you only pasted part of the javascript snippet and I cannot understand, which kind of quotes did you use to surround this snippet.
    e-abi, May 3, 2012 IP