24 lines
363 B
JavaScript
24 lines
363 B
JavaScript
// JavaScript Document
|
|
function getads()
|
|
{
|
|
doc="";
|
|
jQuery.ajax({
|
|
url: doc,
|
|
type: 'POST',
|
|
data:{thetext:thetext,thelink:thelink},
|
|
success: function(data) {
|
|
if(data.error == "")
|
|
{
|
|
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
error: function(resp, textStatus, errorThrown){alert(errorThrown);}
|
|
});
|
|
} |