Home:ALL Converter>Getting data from php into AJAX success,

Getting data from php into AJAX success,

Ask Time:2015-11-07T02:54:42         Author:The River Scene Music

Json Formatter

Could I please request some samples how to put my recieved date into my success so I can insert it into one particular div.

The information received from my php while loop

{"num":1,"690":{"notification_id":"690","notification_content":"Lucy  Botham posted a status on your
 wall","notification_throughurl":"singlepoststreamitem.php?streamitem_id=565","notification_triggeredby"
:"85","notification_status":"1"}}

My dic I need to put it inside with the id of the notification - #notif_ui"+notification_id

I've tried the below but the div hasn't updated

success: function(data){
$("#notif_ui"+notification_id).prepend('<div class="notif_text">'+data['notification_id']+'</div>');
}

Author:The River Scene Music,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/33573705/getting-data-from-php-into-ajax-success
yy