DescentBB
http://www.descentbb.net/

[javascript][chrome-extension] My variable wont pass
http://www.descentbb.net/viewtopic.php?f=7&t=21573
Page 1 of 1

Author:  Isaac [ Wed Sep 24, 2014 10:49 am ]
Post subject:  [javascript][chrome-extension] My variable wont pass

http://pastebin.com/ApGjXs0R

On line 3 I have a variable called "link". I want to pass the variable over to the function on line 12. I tried passing it through the function on line 10, but it doesn't work.


edit:
never mind, I forgot that you have to define the variables outside of the function first to make it global.

Page 1 of 1 All times are UTC-06:00
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/