Wednesday, November 30, 2016
but if you want get new url by ajax:
$(document).ready(function () {
$('a').on('click', function (e) {
var $this = $(this);
$.ajax({
url: 'GetUrl',
async: false,
success: function (url) {
$this.attr("href", url);
$this.attr("target", "_blank");
},
error: function () {
e.preventDefault();
}
});
})
})
Subscribe to:
Posts (Atom)
-
Um grupo anarquista internacional, sediado em Atenas na Grécia, designado por PHK, pretende comprar por 50.000 euros, uma bomba radioactiva ...
-
I am currently developing an APP to create a communication field between two devices over Wi-Fi tethering and TCP protocols. The first o...