Solved

href question

Posted on 2003-12-10
2
282 Views
Last Modified: 2010-04-01
Can someone take a look at this....

(this works)
TheHtml = TheHtml & "<a href=/forms/supf198d.asp>Supplier</a><br>" & vbcrlf

(This does not)
TheHtml = TheHtml &  "<a href="javascript:PopWin('/reports/movepallets6.asp')">Supplier</a><br>" & vbcrlf

Why cant I get my href to open my js function?? Am I call it wrong?

0
Comment
Question by:swilli6926
  • 2
2 Comments
 
LVL 15

Accepted Solution

by:
jimmack earned 125 total points
ID: 9913005
You have an imbalance of " symbols in the second example.

Try:

TheHtml = TheHtml &  "<a href="javascript:PopWin('/reports/movepallets6.asp')>Supplier</a><br>" & vbcrlf

(This isn't JSP ;-))
0
 
LVL 15

Expert Comment

by:jimmack
ID: 9913250
;-)
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question