Ajax Post

<script> $(document).ready(function() { $('.streaming .tabs-titles li').click(function(){ var $this = $(this); var city= $this.data('city'); $.ajax({ type: "POST", url: '/Client/CallPhone', dataType: 'json', data: { city:city , number:'535 878 00 00' }, success: function(result){ if(result.IsSuccessful) { } else { } } }); }); }); </script>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.