Sublime text to make editing interesting
This post is part of my last post How I’m using sublime Text, that was about how you can install and start using this awesome editor with some of great...
How to get current url in JavaScript and jQuery ?
The [window.location](https://developer.mozilla.org/en-US/docs/Web/API/window.location?redirectlocale=en-US&redirectslug=DOM%2Fwindow.location) read-only property returns a Location object with information about the current location of the document. we see all the property by this below Url http://www.test.com:8082/index.php#tab2?foo=123 first use window.location then write following property...
First step with server side JavaScript (Node.js)
When i started with Node.js then at that time in my mind have many question. 1)What is Node.js ? Node.js is a platform built on Chrome’s JavaScript run-time for easily building fast, scalable...
Add menu externally to wp menu list
For add menu externally in wordpress menu list add below code in your functions.php add_filter( 'wp_nav_menu_items', 'myaccount_login_menu_item', 10, 2 ); function myaccount_login_menu_item ( $items, $args ) { if ($args->theme_location ==...
How I'm using sublime text
In the field of programming, developer’s most of time spent in using keyboard and moving fingers around keyboard and creating some cool stuffs. I have used Dreamweaver, Eclipse and Aptana...
Three ways to define a JavaScript class
Introduction JavaScript is a very flexible object-oriented language when it comes to syntax. In this article you can find three ways of defining and instantiating an object. Even if you...
.ready() function in jQuery
Description: Specify a function to execute when the DOM is fully loaded. Type: Function() A function to execute after the DOM is ready. While JavaScript provides the load event for executing code when a...