Shadowing Posted May 20, 2012 Share Posted May 20, 2012 Hey guys I'm having a problem with returning some data from with in a function. I'm trying to display display_stars in the "div.map" function a_function(){ $.ajax({ url: "<?php echo LPATH; ?>ajax/map.php?functions="+arrow, type: 'POST', dataType: 'json', data: { }, success: function(response) { $('div.map').html(response.display_stars); } }); } Link to comment https://forums.phpfreaks.com/topic/262811-returning-something/ Share on other sites More sharing options...
Shadowing Posted May 20, 2012 Author Share Posted May 20, 2012 ahh nevermind. there is nothing wrong that function. I had another problem that was causing my issue. Link to comment https://forums.phpfreaks.com/topic/262811-returning-something/#findComment-1346966 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.