Good
<script type="text/javascript"> $(document).ready(function(){ //жмякнем по div $(".mydiv1").click(function(){ //возьмем какие ни будь данные var param2 = $(".mydiv2").val(); var param3 = $(".mydiv3").val(); //пошлем ajax запрос $.ajax({ url:"page.php", type:"POST", cache:true, data: { param2: param2, param3: param3 }, success: function(html){ $(".mydiv4").html(html); } }) }); }); </script> Actually there is such a thing, angularjs. Everything is cool, but I don’t understand how to make ajax request on it similar to what I wrote above?
Ps so that he wrote no problems
$http.post(...).then(function(html){...})- Yaant