java script help

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
I have coding a script for about a week. I have coded the javascript functions and have uploaded it to my folder. Now i want to use this scipt and the functions containing in it in some other site.
Is this possible? I tried but could not find the solution why the script is not working.
I will be adding the code to a cms site and testing it. but its not able to call the function in my site. I have added the path to the script also. But its not working.
Any suggestion of what the matter could be.
 

cowctcat

New Member
Messages
401
Reaction score
0
Points
0
pardon me for asking but why not just upload it to the other site?
 

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
I have made a javascript file. let me call it as one.js. I have uploaded that to my site. now in another pages (php pages) i am including one.js and writing some other code to invoke the functions in the file one.js. It works fine there.
Here is the link
www.nxglab.co.cc/Solutions/linkexchange/ads.php

Now i want to write a java script for another domain that can invoke the functions in the file one.js which is in my domain.
Even i have tried to upload the file one.js to the other domain where i have included the script for calling it. but then also it seems not to work.
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
FF encounters 1 error on that page:
Error: missing ) after condition (line 209)
Maybe it has something to do with that...

But if it works on one site, but not on the other one, you should make sure
  • you've used exactly the same code
  • there are no bugs in your code
  • you've used the right url
  • functions / global variables don't get defined twice

I hope this was of any use...
 
Top