About
Pricing
Community
Teams
Start Free Trial
Log in
yairab
asked on
5/20/2011
string manipulation
hi
i creat a email sender that in simple asp (vbs)
i tray to do :
theBody = theBody & "<a href=javascript:window.ope
n('" & theUrlLink & "', 'width=900')>xxx</a>
whit no success the link is bracke down
i tray to use window.open because i wont that the link address will open in full window
thanks
ASP
HTML
7
1
Last Comment
G_H
8/22/2022 - Mon
HugoHiasl
5/20/2011
Did you use .HTMLBody instead of .Body?
yairab
5/20/2011
ASKER
no
G_H
5/20/2011
Would something like this not be better?
theBody = theBody & "<a href=""" & theUrlLink & """ target=""_blank"">xxx</a>"
GH
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
HugoHiasl
5/20/2011
Your string should be ok.
G_H is right. Encapsulation with quotes would make it more readable but should not be neccessary.
You need to set it to the correct property:
http://msdn.microsoft.com/en-us/library/aa171418%28v=office.11%29.aspx
yairab
5/20/2011
ASKER
hi
thanks for replay
G_H
i wont to open the url in a full window
it is posibale whit <a href> tag?
yairab
5/20/2011
ASKER
i get the problems when i tray to use window.open(...)
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
G_H
5/20/2011
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.