![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
| Hi All, | | I am hoping some of you good people can help me with this problem. | | The code below is part of a refer a friend page I want to put on my site. I | get and "Unterminated String Constant" for "<%= varREFERINGPAGE %>" | when I post the page. varREFERINGPAGE is the name of the refering paging | and works fine if I just display it on the page but as part of a mail the | lets the friend click back to the refered page it dosn't work. The page | won't even load. | | sEmailText = sEmailText & "<a href='" & "<%= varREFERINGPAGE %>" & "' | target='_blank'>" & ">> Click here to view Job Details" & "</a>" | | If I change "<%= varREFERINGPAGE %>" to say "http://www.cnn.com " the | link works fine. The email reciptiant can click and get to cnn | | I really can't figure this one out. Unterminated String Constant seemd to me | a lack of closing "'s etc. but I can't find the problem. | | Your help would really be appreciated. |
#3
| |||
| |||
|
|
On Tue, 6 Jul 2004 11:13:42 +0100, in macromedia.dreamweaver "p.g." p.g (AT) nospam (DOT) oceanfree.net> wrote: | Hi All, | | I am hoping some of you good people can help me with this problem. | | The code below is part of a refer a friend page I want to put on my site. I | get and "Unterminated String Constant" for "<%= varREFERINGPAGE %>" | when I post the page. varREFERINGPAGE is the name of the refering paging | and works fine if I just display it on the page but as part of a mail the | lets the friend click back to the refered page it dosn't work. The page | won't even load. | | sEmailText = sEmailText & "<a href='" & "<%= varREFERINGPAGE %>" & "' | target='_blank'>" & ">> Click here to view Job Details" & "</a>" | | If I change "<%= varREFERINGPAGE %>" to say "http://www.cnn.com " the | link works fine. The email reciptiant can click and get to cnn | | I really can't figure this one out. Unterminated String Constant seemd to me | a lack of closing "'s etc. but I can't find the problem. | | Your help would really be appreciated. Where are you placing this code - server-side or client-side. Server-side: sEmailText = sEmailText & "<a href='" & varREFERINGPAGE & "' target='_blank'>" & ">> Click here to view Job Details" & "</a>" Client-Side: sEmailText = sEmailText & "<a href='" & <%= varREFERINGPAGE %> & "' target='_blank'>" & ">> Click here to view Job Details" & "</a>" |
![]() |
| Thread Tools | |
| Display Modes | |
| |