Solved

href question

Posted on 2003-12-10
2
302 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Let's take a look back at the commercialization of the internet to understand why keeping it open and neutral is in our best interest as a society.
Part One of the two-part Q&A series with MalwareTech.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

631 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