How to Check Whether Ext Library is Correctly Included or Not ?

Before using Ext Library we must check whether Ext Library is correctly included or not Steps to Verify Ext Library : Firstly Try this program out.Copy following Code to Textpad and Save it using .html Extension. Code : <html> <head> <title>First ExtJs Example</title> <link rel=”stylesheet”type=”text/css” href=”lib/extjs/resources/css/ext-all.css”/> <script src=”lib/extjs/adapter/ext/ext-base.js”></script> <script src=”lib/extjs/ext-all-debug.js”></script> <script> Ext.onReady(function(){ Ext.Msg.alert(‘Hello’, ‘Welcome to(…)

Advantages And Features Of Object Oriented Programming

Advantages Of Object Oriented Programming : OOP provides a clear modular structure for programs. It is good for defining abstract data types. Implementation details are hidden from other modules and other modules has a clearly defined interface. It is easy to maintain and modify existing code as new objects can be created with small differences(…)

Creating JSON Object in JavaScript-HTML

Creating JSON Object in JavaScript : <html> <body> <h2>Creating JSON Object in JavaScript</h2> <p> Name: <span id=”jname”></span><br/> Age: <span id=”jage”></span><br/> Marks: <span id=”jmarks”></span><br/> Subject: <span id=”jsubject”></span><br/> </p> <script type=”text/javascript”> var JSONObject = { “name”:”Pritesh”, “age”:22, “marks”:99, “subject”:”English”}; document.getElementById(“jname”).innerHTML=JSONObject.name document.getElementById(“jage”).innerHTML=JSONObject.age document.getElementById(“jmarks”).innerHTML=JSONObject.marks document.getElementById(“jsubject”).innerHTML=JSONObject.subject </script> </body> </html> Output : Creating JSON Object in Javascript Name: Pritesh Age: 22(…)

What is an XML Element ?

Consider Following Document - <student> <male std=”1st”> <name>Pritesh</name> <age>6</age> <marks>90.45</marks> </male> <female std=”1st”> <name>Pooja</name> <age>5</age> <marks>96.67</marks> </female> </student> XML Element Consists Of - Other Element Text Attributes Mixing Above Elements Explanation : XML Element Contain Other XML Elements. Above XML Contain <student> tag which contain other Elements. <male> element have attribute std Similarly <female> element(…)

Binary File Format : Complex Formatting File Format in C Programming

What are Binary Files : Binary Files Contain Information Coded Mostly in Binary Format. Binary Files are difficult to read for human. Binary Files can be processed by certain applications or processors. Only Binary File Processors can understood Complex Formatting Information Stored in Binary Format. Humans can read binary files only after processing. All Executable(…)

Text file Format in C Programming Language

Text file Format in C Programming : Text File is Also Called as “Flat File“. Text File Format is Basic File Format in C Programming. Text File is simple Sequence of ASCII Characters. Each Line is Characterized by EOL Character (End of Line). Text File Formats : Text File have .txt Extension. Text File Format have(…)

Printf MCQ 8 : Multiple Strings seperated by Comman

Printf Multiple Choice Questions : Two Strings in Printf Question : Guess the output of Program #include<stdio.h> #include<conio.h> void main() { clrscr(); printf(“Computer”,”Programming”); getch(); } Options : Computer Programming ComputerProgramming Garbage [toggle title="Output"]Computer[/toggle] Switch to Printf MCQ Home : Click Here How and Why ? Only First String Will be Accepted If number of Strings(…)

How JSON Works ? : (Java Script Object Notation)

How JSON Works ? In JSON we can have 2 conventions to represent Data. We can store data in JSON using two types of notations. Using Array Notation we can store data in array and can easily parse data using array index. Object notation creates key-value pair to store data and retrieves each record using(…)

What is JSON : Java Script Object Notation Introduction

Introduction to JSON : JSON is lightweight syntax to store and interchange text information that can be read by many programming languages. JSON is supported by many browsers. JSON was developed by Douglas Crockford and presented to the Internet community in 2006. It was formally made part of the ECMAScript standard, on which JavaScript is(…)

Files Required to run ExtJs

Sample Code : <html> <head> <title>First ExtJs Example</title> <linkrel=”stylesheet”type=”text/css” href=”lib/extjs/resources/css/ext-all.css”/> <script src=”lib/extjs/adapter/ext/ext-base.js”></script> <script src=”lib/extjs/ext-all-debug.js”></script> </head> <body> <!- Nothing in the body -> </body> </html> We have included the following three files that Ext requires to run in our page: ext-all.css: A stylesheet file controls the look and feel of Ext widgets. ext-all.css file must be added as it(…)