I have a web script that I purchased and would like to make a small modification to the function that builds the target URL... this should be a very simple job for any ASP / Javascript programmer.
## Deliverables
Here is the unmodified code:
'/// Target Link ///'
if articleurl<>"" then
openlink="<a href='" & articleurl &"'"
closelink="</a>"
if targetframe<>"" then openlink &= " target='" & targetframe & "'"
openlink &=">"
else
openlink=""
closelink=""
end if
I want to change the above so that it builds the link in this format as shown below:
<a href="javascript:ajaxpage('articleurl ', 'article');"></a>
Where articleurl is the url where the article is hosted (this is in a database and article is the id of a div that i am going to make the article appear inside.
Should be very simple but as i am not a programmer i don't know how to code the line above into the origional code.
## Platform
ASP / Javascript