×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Gábor Papp
Added: Feb 1, 2017 5:57 AM
Views: 9
Tags: no tags
  1. function tarolas(pid,fid) {
  2.     param={'funkcio':'tarolas','pid':pid,'fid':fid};
  3.     $.ajax({
  4.         type: "POST",
  5.         url: "ajax.php",
  6.         data: param,
  7.         dataType: "json",
  8.         success: function(data) {
  9.             // alert(data['uzenet']);
  10.             $('#id_'+data['id']).find('.auzenet').text(data['uzenet']);
  11.             $('#id_'+data['id']).slideDown('slow');
  12.         }
  13.     });
  14. }