Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 28, 2012 07:52 AM by Ruchira
Member
14 Points
8 Posts
Apr 27, 2012 09:12 PM|LINK
I cant seem to get the syntax right ... im trying to place a hyperlink inside a HTML table cell but i cant seem to get the " to work
I am fairly sure its a quote/single quote problem!
Thanks for your help
this is what i've tried so far
TableStartUp.Text &= "<td onclick=" & "location.href='www.google.com'" & ">" & VARIABLE.TEXT & "</td>"
TableStartUp.Text &= "<td> < a href =" & "'www.google.com'"& ">" & VARIABLE.TEXT & " </a></td>"
Star
12346 Points
1993 Posts
Apr 28, 2012 01:36 AM|LINK
Try this
TableStartUp.Text &= "<td><a href='www.google.com'>" & VARIABLE.TEXT & "</a></td>"
All-Star
43056 Points
7040 Posts
MVP
Apr 28, 2012 07:52 AM|LINK
greenheck1 TableStartUp.Text &= "<td onclick=" & "location.href='www.google.com'" & ">" & VARIABLE.TEXT & "</td>"
Hello,
Try this one
TableStartUp.Text &= "<td onclick=\"javascript:location.href='www.google.com'\">" & VARIABLE.TEXT & "</td>"
Please 'Mark as Answer' if this post helps you.
greenheck1
Member
14 Points
8 Posts
syntax error - hyperlink in <td>
Apr 27, 2012 09:12 PM|LINK
I cant seem to get the syntax right ... im trying to place a hyperlink inside a HTML table cell but i cant seem to get the " to work
I am fairly sure its a quote/single quote problem!
Thanks for your help
this is what i've tried so far
Prashant Kum...
Star
12346 Points
1993 Posts
Re: syntax error - hyperlink in <td>
Apr 28, 2012 01:36 AM|LINK
Try this
Ruchira
All-Star
43056 Points
7040 Posts
MVP
Re: syntax error - hyperlink in <td>
Apr 28, 2012 07:52 AM|LINK
Hello,
Try this one
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.