Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

href question

Posted on 2003-12-10
2
Medium Priority
?
309 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 500 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. 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

Check out what's been happening in the Experts Exchange community.
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

715 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