Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 314
  • Last Modified:

href question

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
swilli6926
Asked:
swilli6926
  • 2
1 Solution
 
jimmackCommented:
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
 
jimmackCommented:
;-)
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now