6 Replies Latest reply on Jan 4, 2013 4:24 PM by Marijan Tompa [tomaxxi]

    passing variable

    hurix@123 Level 1



      I have a javascript file "XX.jsx" in that script we create one variable


      var fname = x.substr(0, x.lastIndexOf('.'));


      i have another javascript file "XX1.jsx"


      My question is i want to call "var fname" in current script "XX1.jsx" please help if any one knows.