Home / Web Development (page 20)

Web Development

AngularJS – Reading JSON data

Hi Friends AngularJS service provide read the data from remote servers using $http. $http.get(url) is the function to use for reading server data. eg: <script> var app = angular.module(‘myApp’, []); app.controller(‘customersCtrl’, function($scope, $http) { $http.get(“http://www.prittytimes.com/angular/customers.php”) .success(function (response) {$scope.names = response.records;}); }); </script> AngularJS is quickly becoming the dominant JavaScript framework …

Read More »

Browser Fullscreen API using Javascript

Usefull new Javascript API, very simple and useful fullscreen API using Javascript API. The full screen API is an easy way to get the full web content to be displayed on the page. Here the programmatic way to request fullscreen display from the user, and exit fullscreen when request from …

Read More »

Responsive Accordion with HTML, CSS & jQuery

Create an responsive Accordion with CSS3, HTML5 and jQuery. Accordion toggle is the latest style of toggle. Accordion is mostly using for FAQ and design features. This kind of toggle is make the web page as very attractive ,simple and include more content. Here HTML, CSS & jQuery for accordion. …

Read More »

JavaScript Data Types and Variables

JavaScript Variable Javascript uses variables to store values temporarily in internal memory. A variables values change depending on the results of an expression.Uses variables to store, retrieve, and manipulate values that appear in your code. Declaring variables JavaScript variables are used for storing data values.The var keyword is used for …

Read More »

Introduction to JavaScript

JavaScript is a programming language designed for use in a web browser.It is lightweight and most commonly used as a part of web pages.It is an interpreted programming language with object-oriented capabilities.JavaScript can be placed in the <body> and the <head> sections of an HTML page.JavaScript code must be inserted …

Read More »

AngularJS First Application

Hi all, Here I explain simple HelloWorld application using AngularJS. Before I start with creating actual HelloWorld application,let us see the actual parts of a AngularJS application.AngularJS application consists of three important parts they are: ng-app : This directive defines and links an AngularJS application to HTML. ng-model : This …

Read More »

Number Validation Using JavaScript

Here I explain, how to perform number validation using pur javascript method. The values of the Number field textbox is compared using isNaN() inbuilt function in JavaScript .If the values do not numeric values an error message is displayed like ‘Enter Numeric value only’. If the values are numeric then …

Read More »

Javascript-Syntax

Hi all, JavaScript syntax is the set of rules.JavaScript can be implemented using JavaScript statements in webpages that are placed within the <script>……..</script> HTML tags.You can place the <script&gt tags anywhere within your web page. but it is normally recommended that you should keep it within the <head> tags. A …

Read More »

AngularJS Controllers

AngularJS controllers tp control the flow of data in AngularJS applications.The ng-controller directive is used for defined controller.Its regular javascript object containing attributes/properties and functions. <div ng-app=”” ng-controller=”studentController”> … </div> studentController using ng-controller directive.Next step we’ll define the studentController as follows: <script> function studentController($scope) { $scope.student = { firstName: “Priya”, …

Read More »
Social Media Auto Publish Powered By : XYZScripts.com