Categories
jQuery

Clear form fields with exception in jQuery

Using jQuery you can clear form fields. Here I am going to describe, how we can clear all of the fields except a few using jQuery. Example of Clear form fields: <div id=”mainDiv”> <input type=”text” id=”txt1″ /><br/> <input type=”text” id=”txt2″ /><br/> <input type=”text” id=”txt3″ /><br/> <input type=”text” id=”txt4″ /><br/> <button id=”clearall”>Clear All</button> </div> Now, we […]

Categories
Php

Google map using php

Google Map is a desktop/mobile web mapping ads service developed by Google Inc. Google Maps uses an API that allows maps to be embedded or integrated on third-party websites in numerous countries around the world. You may like: Chad Kimball Maps Sample Google map using php: <?php $addr = urlencode(“211, APC Road, Shyam Bazar, Kolkata”); […]

Categories
Php

Learn Regular expressions in few hours

In php regular expressions are very useful for extract information from a string, files, documents etc. So we have divided the lessons into different days so that you can learn without any pressure. Regular expressions lessons: Lesson 1: LettersIn this tutorial we will discuss regular expressions as characters and we will write patterns to match […]

Categories
AngularJS

Expressions of AngularJS

In AngularJS, To bind application data to html expressions are used. It is written inside of double braces like {{expression}}. It uses same way as ng-bind. Following example will show all the expressions of AngularJS: <html> <title>My AngularJS Expressions</title> <body> <h1>AngularJS Expressions</h1> <div ng-app=”” ng-init=”quantity=2;cost=10; colleague={firstname:’Tim’,lastname:’Ererld’,salary:25000};Points=[10,20,30,40,50]”> <p>Welcome {{colleague.firstname + ” ” + colleague.lastname}}!</p> <p>Price(Rs) : […]

Categories
AngularJS

Directives of AngularJS

To extend html, AngularJS directives are used. Now We will discuss following directives: List of directives: ng-app : Directives of AngularJS that defines and links an AngularJS application to HTML. It defines the root element. <div ng-app=””> … </div> ng-init : To initializes application data. It is used to define values to the variables which […]

Categories
AngularJS

Embed external HTML page into AngularJS

You can embed external HTML pages into AngularJS. The most common way, is to use an ajax request to fetch data from the server, and then put the data to the innerHTML of an HTML element. Basically, ng-include fetches then compiles and includes an external HTML fragment. <ng-include src=”string” [onload=”string”] [autoscroll=”string”]> …</ng-include> Directive Info:– This […]

Categories
AngularJS

AngularJS First Application

An AngularJS First Application consists of following three important parts: ng-app : Directive that defines and links an AngularJS application to HTML. ng-model : Directive that binds the values of AngularJS application data to HTML input controls. ng-bind : Directive that binds the AngularJS Application data to HTML tags. First Application Steps: Add javascript framework […]

Categories
Creative blog

Starting a Blog on Blogger.com

Blog is nothing but converting your hobby into business. So by business or profession share your thoughts on a subject you love. Blogging is free and you can create blog on Blogger.com or WordPress. So, Blogger.com is nothing but a free weblog publishing tool i.e. from Google, for sharing photos, video and text. Let’s see […]

Categories
Google Adsense Monetize

Multiple methods how Google AdSense pays in India

There are multiple methods how Google AdSense pays in India is as Cheque facility, EFT transfer and pay by Western Union Quick Cash. Google AdSense has multiple payment methods for different countries like pays in India as Cheque facility, EFT transfer and pay by Western Union Quick Cash. How Google AdSense Pays: AdSense has multiple […]

Categories
Css

CSS Picture frame type border

You can create CSS Picture frame type border using css styles. For creating a CSS Picture frame type border you can use this code: .htmlframe { position: relative; height: 100vh; width: 100%; background-image: linear-gradient(to top right, transparent 48.5%, gray 48.5%, gray 51.5%, transparent 51.5%), linear-gradient(to top right, transparent 48.5%, gray 48.5%, gray 51.5%, transparent 51.5%), […]