Wednesday, 8 October 2014

Simple way to get json values in javascript from json encoded from php

$pro = json_encode($array);
$.each(, function(i, post){
alert(post.id)
});

No comments:

Post a Comment

Feet/Inches to Meters Converter & Lbs to Kgs Converter

 <!DOCTYPE html> <html lang="en"> <head>   <meta charset="UTF-8" />   <title>Feet/Inches ⇄...