I’ve a function like this;
<script type="text/javascript">
function callUrl(url) {
$.post(url);
alert('You'll redirect a telephone');
}
</script>
I’m only want to work url. When the url’ll worked, the user call a telephone. I’m correctly getting url. But $.post(url); doesn’t work. How do you solve this?
Pass a success handler to the $.post method to perform your callbacks.