David,
Thanks. I think this will work.
I'm just learning HTML and JavaScript. And still getting them mixed together in my mind. For some reason I was thinking I needed VFP to write the code for JavaScript, but I don't, just for the HTML.
>Bill,
>
>Do everything,
but the java the way you are currently doing it. Rather than having your java inside your .prg move the java out to a separate file and then textmerge the content of that file into your html file with
>
>
\\<<filetostr( "myjava.js" )>>
>
>Personally I think it's stupid that javascript is case sensitive for language keywords.
>
>>This sounds very promising.
>>
>>But:
>>How would I implement the variable substitution?
>>
>>TEXT TEXTMERGE NoShow
>>The cost will be: <<TRANSFORM(lnCost)>>
>>ENDTEXT
>>
Bill Morris