[javascript][chrome-extension] My variable wont pass

For all coding issues - MODers and programmers, HTML and more.

Moderators: Jeff250, fliptw

Post Reply
User avatar
Isaac
DBB Artist
DBB Artist
Posts: 7137
Joined: Mon Aug 01, 2005 8:47 am

[javascript][chrome-extension] My variable wont pass

Post by Isaac » Wed Sep 24, 2014 10:49 am



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.
:E
Post Reply