The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I have at the top of my index.php page the code that links to a .js file. Inside this .js file i need to have a variable which was defined inside my index page but i do not know how to accomplish this.
Any help appreciated –
what about trying to make a display:none element thats contains this variable lets say
we will select the var div and get the value of it’s content
if this do what you want or dont , please let me know
second thought i found my first replay was ridiculous
ok lets say thats the header are created with php
so simply you can make this
i hop you like it.
your welcome and you can put your code over here for the second solution