954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Speedscript variable in html href tag

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 Matrix The custno is the variable. Is there a way of doing this since the way I an trying is not working?

Thanks,

SKbirdie
Newbie Poster
10 posts since Aug 2010
Reputation Points: 10
Solved Threads: 0
 

If the 'custno' is a JavaScript variable, you could use it without quotation marks around it (). I am not sure whether or not speedscript is JavaScript???

Taywin
Posting Virtuoso
1,727 posts since Apr 2010
Reputation Points: 229
Solved Threads: 239
 

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

SKbirdie
Newbie Poster
10 posts since Aug 2010
Reputation Points: 10
Solved Threads: 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.

Taywin
Posting Virtuoso
1,727 posts since Apr 2010
Reputation Points: 229
Solved Threads: 239
 
SKbirdie
Newbie Poster
10 posts since Aug 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: