5:39 am - Wednesday February 21, 2018

JSON Object With JavaScript

CANDID INDUSTRIAL TRAINING -- CHENNAI
Corporate Training for Experienced Candidate
Struts | Hibernate | Spring | Java / J2EE
SOAP | RestFull | Design Pattern | more...
Ph: +91 72000 69003
137b, 2nd st, shanthi nagar, Chrompet, Chennai -600044

Project Structure:

 

 

 

 

 

 

JSONObjectJs.html:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<h1>This is JSON Example</h1>
<script type="text/javascript">
	var Details = {
		"Book" : "JAVA",
		"Author" : "James Gostling",
		"Price" : 450
	};

	document.writeln();
	document.write("Book " + Details.Book);
</script>
</head>
<body bgcolor="pink">

</body>
</html>

OUTPUT:

DOWNLOAD+SOURCECODE

Filed in: Z-A JSON codes

Comments are closed.