|
-
Jul 17th, 2003, 02:57 PM
#1
Thread Starter
Addicted Member
external variable !
I have a file chaychu.js which having some arrays that are used for scrolling the value of them from bottom to top . But then i want to make the scrolling text more easy to change by using database . That means i added PHP script to get values from the database and pass the value the arrays in that chaychu.js .
The problem is that i don't know how to solve this . Thought there was a way : getting value form database and then write in another .js file ( tmp.js - for example ) - with the format of setting value for the function in the file chaychu.js . But i can't get the value from the the file tmp.js to use in the function in the file chaychu.js . So i came here to ask that can we call values from another .js file from another file ? and how ?
Or is there any other way to solve my problem above ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|