How can I put a link inside an ajax file?
How can I put a link inside an ajax file?
aismen
Posts: 11Questions: 2Answers: 1
{ "aaData": [
[ "<a src=‘http://www.google.com/' target=‘_blank’>test</a>" ]
] }
In this way I correctly see the link in the table (blue and underlined) but it doesn't work if I click it
Anyone can tell me how can I solve?
Thanks :)
This question has accepted answers - jump to:
This discussion has been closed.
Answers
Please help me
http://www.methodo.biz/test/
Thanks!
The HTML you have is invalid. It looks like you have "smart" quotes. Just use an apostrophe.
Allan
Tried but nothing change, please tell me more, I'm not an expert
Thanks!
The JSON file being loaded still looks wrong to me:
Allan
Which character should I put before and after the link?
I've tried different solutions but nothing change
:-)
Now it's
but it doesn't work :(
"<a src=\"http: //www.google.com/\">prova</a>"
Not working but thanks :(
It is valid JSON.
The link appear but it doesn't work :(
Sorry it was my error, it works :)
(not src but href) !!!
I can't believe I missed that.... :-(
Hehehe me and allan too :)
One of them days... :-)