0

I have an existing website I an trying to modify. In speedscript I have my include libraries and a veriable. Then I need to do an href with a link I have the code as follows <a href="WI_testweb/" + "custno" + ".xls">Matrix</a> The custno is the variable. Is there a way of doing this since the way I an trying is not working?

Thanks,

2
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by SKbirdie
0

If the 'custno' is a JavaScript variable, you could use it without quotation marks around it (<a href="WI_testweb/"+custno+".xls">). I am not sure whether or not speedscript is JavaScript???

Edited by Taywin: n/a

0

Thanks speedscript is like Progress code and this website uses both. I will try the code you suggest.

0

Oh, so the part you are building anchor tag is not in JavaScript part then... That is, the way I told you will not work. I don't know about Speedscript, so I may not be helpful here. The only thing I can make a guess it that your 'custno' needs to be marked as a variable (don't know how to do in Speedscript). The original way you used is a string which would not be what you want.

Edited by Taywin: n/a

0

I tried the (<a href="WI_testweb/"+custno+".xls">). And it didn't work. Any other suggestions? Speedscript is progress code.

Thanks again.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.