Hey All,
I'm currently building a CD for my members to use to promote their businesses, using a basic html page. What I need to do is be able to use javascript to replace some tags in the html files with a members information from a seperate text file.
I'm sure this is a very simple process, but I can't seem to find a complete piece of code for this anywhere on the internet. I've been searching for several hours now and I've had enough.
I'd like to be able to use tags ~username~ or ~firstname~ in the body of the html files and have that replaced with the actual information from the text file, this way we can simply drop in a new text file for each member, recompile the cd and bam, we're done.
If someone could help with this I would certainly appreciate it. Or if you could point me to a complete script somewhere that would be great.
Thanks so much.
V
I'm currently building a CD for my members to use to promote their businesses, using a basic html page. What I need to do is be able to use javascript to replace some tags in the html files with a members information from a seperate text file.
I'm sure this is a very simple process, but I can't seem to find a complete piece of code for this anywhere on the internet. I've been searching for several hours now and I've had enough.
I'd like to be able to use tags ~username~ or ~firstname~ in the body of the html files and have that replaced with the actual information from the text file, this way we can simply drop in a new text file for each member, recompile the cd and bam, we're done.
If someone could help with this I would certainly appreciate it. Or if you could point me to a complete script somewhere that would be great.
Thanks so much.
V