Hello friends, I hope you can help me, what happens is that I try to show a sahdowbox from javascript and json code and I make a sql connection through a webmethod.
The way I'm trying to show the shadowbox is like this:
<br>
$.ajax({
type: "POST",
url: "pagina.aspx/webmethod",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (response) {
var objeto = (typeof response.d) == 'string' ?
<br>
<a id="a1" rel="shadowbox;width=518;height=350;" title="' + objeto[i].titulo + '"' + ' href= ' + '"' + objeto[i].liga + '"' + '><div>Ver</div></a>
<br>
<br>
Thanks in advance greetings.