deleted
Printable View
deleted
This is wrong for so many reasons :)
Below is a corrected solution (untested, but I think it'll be fine).
1) Javascript allows strings to be quoted with double (") and single (') quotes. Because you need to have a string literal INSIDE the attribute onclick in HTML -- which also is a quoted string -- you need to use single quotes (or ") inside the attribute string in order to represent a javascript string. Also, you should set your href as well.
Note, I set the href equal to the same link as the javascript version. This allows the page to still load even if the javascript fails for some reason. I also used single quotes for the string literal for the link.Code:<a href=""http://misip249/development/MemberStatements/BinaryData.aspx?name= "& LsStatementName & _
" onclick=""OpenIssue('http://misip249/development/MemberStatements/BinaryData.aspx?name=" & LsStatementName & "'); return false;"
deleted
it'll be easier if you paste me the rendered content. This kind of string building is a pain in the butt to look at without debugging it by looking at the rendered content, so can you get it to compile and paste me that piece of code in rendered HTML? Then I can fix the rendered HTML and you can figure out how to put it into the string that you need.
the rendered content I am not following what you mean exactly ? Forgive me I am a newbie.
if your code compiles, then view it in a browser. Then view source, find the HTML that is produced from the code you showed above, and paste that piece of HTML.
Nowhere in the code that you pasted does the text "misip249" appear, which means the important part isn't there. Try again ;)
deleted