Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Top 10 jQuery Plugins

Share this post!
 Vote this!

jQuery is one of the widely used free and open source JavaScript library.jQuery is a lightweight, cross browser JavaScript library designed for easy client side scripting.            more...

How To: Reveal Password Using a Javascript

Share this post!
 Vote this!

if you want to reveal the password hidden behind the asterisk (*****), then you can see it with the help of java script code.
Yeah! It is true! :)
Just Follow the following steps:      more...

How to add JavaScript to WordPress posts or pages ?

Share this post!
 Vote this!

All WordPress posts and pages that are written using the built in WYSIWYG editor do not support JavaScript. If you are like me and want to add JavaScript to WordPress posts or pages without any plugins then there are a few points that you need to remember.                more...

Javascript to edit any website like facebook or google funny trick

Share this post!
 Vote this!

This is how it works:-

Open any website in Google Chrome, or in Opera and enter the below code to the address bar of the browser.

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

•and press enter.             more...

Useful jQuery Function Demos For Your Projects

Share this post!
 Vote this!

Every aspiring Web developer should know about the power of JavaScript and how it can be used to enhance the ways in which people see and interact with Web pages. Fortunately, to help us be more productive, we can use the power of JavaScript libraries, and in this article we will take a good look at jQuery in action.   more...

Playing Sound on a webpage using Javascript and Flash Player

Share this post!
 Vote this!

There are several ways to play sound in a web page. Why you need sound in a web page. The most common type of feedback is sound. The computer clicks when you select things, beeps when there are errors, and makes other noises to alert you to situations. But Web pages don’t usually have this type of feedback.
As I said above that there are several ways to play sound in web page. But the most common problem is the “Browser specific solutions”. Some will run on Internet explorer, while others will run on Mozilla Firefox and some on Google Chrome.  more...

JavaScript for Java developers

Share this post!
 Vote this!

Java™ developers have historically perceived JavaScript as a toy language, both too lightweight for real programming and too clunky to be of use as a scripting alternative. And yet JavaScript is still around, and it's the basis of exciting web technologies like GWT and Node.js. In this installment of Java development 2.0, Andrew Glover explains why JavaScript is an important tool for the modern Java developer. He then gets you started with the syntax you need to build first-class applications for today's web, including JavaScript variables, types, functions, and classes.

Back in the early days of the Java platform, it wasn't unusual for journalists, and even occasionally newbie programmers, to confuse JavaScript and the Java language. Both languages were popularized due to their applicability to web programming, after all, and for a few years they ran neck-and-neck in the popular imagination. Most people today differentiate the two languages, but it's still common for Java developers to deride JavaScript as a toy language, not even fit for scripting. The thing is, JavaScript (much like the Java language) has lived on, and even evolved. It's the basis of client-side programming techniques like Ajax and server-side efforts like Node.js, and its importance for mobile application development is beginning to emerge. It's also the language that Java code compiles to in the very popular Google Web Toolkit, or GWT.  more...

Efficient JavaScript unit testing

Share this post!
 Vote this!

JavaScript code that runs on one browser does not necessarily mean it will work on others. Without unit testing this code, organizations pay money for testing and re-testing web applications when deciding to upgrade or support new browsers. In this article, learn how efficient unit testing of your JavaScript can reduce testing costs and make it easier for you to support more browsers.

A broken JavaScript code example
One of the biggest challenges facing web applications is the support of web browsers with different versions. JavaScript code running on Safari does not necessarily work on Windows® Internet Explorer (IE), Firefox, or Google Chrome. This challenge is inherited from the lack of testing the JavaScript code living in the presentation tier from day one. Without unit testing this code, organizations may pay for repeated testing of web applications after upgrading or supporting new browsers. This article shows you how to reduce testing costs using efficient unit testing for JavaScript code.  more...

Functional JavaScript with CoffeeScript and Node

Share this post!
 Vote this!

CoffeeScript is famous for smoothing out JavaScript's rough edges, but it has other advantages worth exploring. In this article, Andrew Glover shows you how CoffeeScript's cleaner syntax makes it easer to leverage functional constructs in JavaScript libraries, especially for server-side programming in Node.js. He concludes with a series of short demonstrations in using Underscore.js, a utility library for JavaScript, to handle collections in CoffeeScript and Node.

CoffeeScript is a relatively new language that presents an appealing alternative for developers weary of JavaScript's deficiencies. With CoffeeScript, developers can do their coding in a lightweight, intuitive language that feels like a hybrid of Ruby and Python. CoffeeScript then compiles to JavaScript for browser-compatible Web applications, and it also works seamlessly with Node.js for server-side applications. Central to this article is a third benefit of using CoffeeScript, which is its handling of the functional side of JavaScript. CoffeeScript's cleaned up, modernized syntax opens up the world of functional programming latent in JavaScript libraries.  more...

How To Create High Quality Tables With JavaScript

Share this post!
 Vote this!

If you are web program developer, it is likely that you are creating tables on a daily basis. In this article I will show you how to create high quality tables with Javascript within a short period of time. One feature that you will want to become familiar with is DisplayTag Library.
There are a number of things that you will want your tables to have, and some of these are various row colors, menu navigation, column sorting, Export to XML or CSV, and interactive rows.
You may be wandering why DisplayTag is so important. If you are used to using HTML or JSTL, this is a valid question. Well, while it is possible for you to create good tables with these languages, it can be a very tedious process. more...

User Interface Programming in the Future

Share this post!
 Vote this!

The fact that there have been so many JavaScript libraries attempting to solve the problem, and that the solution appears in not one but two pieces perhaps makes it understandable that it's not initially obvious. But once you see how well the solution works, you'll shake off the shackles of the old, and unleash your UI creative potential. This combination is compelling enough that Rails has included it as part of the standard distribution.
If you want to work across desktops, pads and handhelds, HTML5 looks like the only reasonable choice. And Windows 8 looks like it is going to be heavily based on HTML5, so these tools will also come in handy for that.

jQuery

The browser problem is big. The amount of money that companies have invested to compensate for browser incompatibilities is huge. Entire jobs have been dedicated to that one issue.
Many have attempted to solve it by creating JavaScript libraries. Because of the size and pain of the problem, many libraries were created, and because this was primarily an open-source market and unencumbered by money, a solution has (relatively rapidly) evolved. I'm quite glad I only showed up after things have been sorted out.  more...

Getting Started with jQuery

Share this post!
 Vote this!

Implement JavaScript with JSP

Share this post!
 Vote this!

In this section we are going to implement  insert data, delete data, and update data using with JDBC database and also using of JavaScript.
Step 1: Create employee form (EmployeeInformation.jsp) .
In this step first of all create Employee information form and retrieved employee id from database using with JDBC database.  
Here is the  code EmployeeInformation.jsp  more...

Java Script For Getting Browser Information

Share this post!
 Vote this!

This script does a great job of displaying information about your web browser including version, your computer’s platform, if Java is enabled, how many pages you’ve visited, and screen resolution. Take a look, it’s pretty cool.  more...

Java Script For Checking URL

Share this post!
 Vote this!

This script is particularly useful for those who have their site on a free webspace provider, then use a “come.to” redirecting service. What this script will do is analyze the URL the visitor is at, and if they did not came to your site via the redirecting URL, it can print out a message telling them that is your new URL. Neat!  more...

jQuery form plugin and PHP file uploads

Share this post!
 Vote this!

What do you get in this tutorial

  • First we investigate the form plugin a little bit and explain some interesting features
  • With this knowledge in mind we will showcase some of the plugin’s functions
  • Finally we provide examples on how-to use the form plugin for simple forms with different response methods.    
more...

Star rating system with JavaScript and PHP

Share this post!
 Vote this!

Easy to use star rating system for your website, by pasting 1-2 lines of provided javascript you can display the system on your site and allow the users to rate your content (pages, articles, photos, products, etc), you simply provide an unique item to be rated, e.g Product19, Product20, etc.     more...

Restricting access of JavaScript libraries to designated domains

Share this post!
 Vote this!


JavaScript libraries allow us to separate script from page, so multiple pages can all utilize the same script simply by linking to it:
<script src="greatscript.js" type="text/javascript"></script>
Just to refresh our memories, "myscript.js" should contain the script itself minus the surrounding <script></script> tags, and saved as a text file (but with .js extension).
Now, the nature of JS libraries means that they're not only accessible by your site/domain, but anyone's. Like an image, a library could potentially be utilized by any site that decides they like your script but not the bandwidth associated with it. Specifically, they would simply use a syntax like the following on their page:
<script src="http://www.yourdomain.com/greatscript.js" type="text/javascript"></script>
This can become a headache, especially if the library is very large.
So, is there a way to limit which domains can access your library? There better be, or this tutorial sure is going nowhere fast!  The following looks at two techniques for restricting access of a JavaScript library to only  "permitted domains."        more...

Regular expression JavaScript password complexity test

Share this post!
 Vote this!

People in general are not very smart when it comes to inventing passwords. It is shocking how many of us actually believe using a family members' name, date of birth, wedding date, wife or pet's name, favourite sports team, etc are secure choices!         more...

Javascript, How to make a Dress Up Game (Drag and Drop)

Share this post!
 Vote this!

A lot of doll maker sites uses this script to make their doll pieces draggable. This version would work on BOTH ie and netscape (original script by DynamicDrive).
Just add the field (i.e. class="dragme") to make an image draggable is all that is required. The z order of the images is determined by which image is created last (the last image will be the top most image).Below we set the three images placed inside a table (could just as well be a div) and assigned the classname "dragme" to each of them.more...