- $.ajax({
- type:'post',
- url:'next_prev.php',
- data:{act:act,id:id,priority:priority},
- dataType: 'json',
- cache: false,
- success:function(data){
- var obj=jQuery.parseJSON(data)
- $('#content').html(obj.content);
- $('#priority').html(obj.priority);
- $('#id').html(obj.id);
-
- },
- });
but it does not work.whats wrong?