Solved

href question

Posted on 2003-12-10
2
275 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Running Java Servlet inside Eclipse Luna 6 148
Run the project 5 87
EJB MDB example 4 79
I get error: useBean: Duplicate bean name: {0} 1 124
Knowledge base software has turned out to be a quite reliable method for storing information, promoting collaborative work and for sharing valuable input and solutions.However, some organizations are trying to develop a knowledge base that works wit…
The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques. This attack comes as a nightmare trifecta for email filtering services; sent from a familiar contact, using authentic tone and verbi…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now