Blog

Show tooltip when input element get focus

Hello Friends,

Recently I am working on one of the project, and inside it we want functionality to show a hint tooltip box (show information related to that field) when that input element get focus.

I use clueTip (a jQuery tooltip plugin) to show hint tooltip box.

Read More
By Mahavir Dhruv
Comments(0)
Tags: jQuery, JavaScript, html
August 6, 2011
Introduction to HTM5 local data storage

Hi friend,

I am doing some research on HTML5 supported client side local storage.

HTML5 introduces some new concept to store information on client pc. It is very help and opens a new dimension to create offline applications.

For local storage, HTML5 accepts use of SQLite database. Each of the method uses SQLite database. There are main three methods:

1. localStorage
2. Web SQL
3. IndexedDB

Read More
By VIkas
Comments(1)
Tags: HTML5, SQLite
June 18, 2011
jquery mobile error avoiding tip

Hi,

For last month I am using jquery mobile. I’ve gone through lots of issues and learned a lot.

Web is good but when it comes with browser, HTML and java-scripts it becomes more buggy!

Generally I use chrome for development, and jquery mobile works perfect as it based on web-kit.

I tested and published my code, for desktop testing I use Firefox and chrome (not testing on IE as its jquery mobile). But when I open it in Android device, I see only half of the page rendering. And this is because of I made mistake in mark up language.

I forgot to close div tag and closed with li tag. In Firefox and chrome its ignored, but in safari it rendered differently.

See this code and output in chrome and safari, you will get the idea what i’m taking about.

Conclusion: While testing you web app IE is your acid test, while targeting web-kit or jquery mobile, safari is your acid test.

Read More
By Vikas
Comments(0)
Tags: HTML, jQueryMobile
November 11, 2010
innerHTML vs appendChild

 

Today I was testing my code, and I found interesting stuff on innerHTML and appendChild method.

I was trying to add new elements to the div.

First, I was creating element by calling DOM method (document.createElement()) and then I append it to my div by calling appendChild() method of the HTML div element.

 

Read More
By Vikas
Comments(0)
Tags: DOM, HTML, JavaScript
May 22, 2010
The Advantages of HTML5 over Flash

Hello, in this article I will explain to you the advantages of HTML5 over flash. As everyone knows, flash is owned by Abode and is freely available. HTML5 is a new open source platform created by many developers. Apple seems to be in favor of HTML5 since it runs better on their computers and mobile devices. Will other companies soon follow? Flash was created in the 1990s to run internet applications. It was mainly used on desktop PCs. And of course, it was eventually ported to Mac OSX. Now ...

Read More
Comments(0)
Tags: HTML5
April 27, 2010
Correct Method to check if a Javascript function is Exists or not

Hi everyone,

Sometime you might want to call a function in Javascript but check whether the function exists or not before calling it. You can test if a function exists in Javascript by simply testing for the name of it in an if() condition.

But Note that you can't test for the function name by itself.
This will work but if the function doesn't exist the Javascript will error out ...

Read More
Comments(0)
Tags: HTML, JavaScript, jQuery
April 24, 2010
Visitor's Browser Window Display Area

To know the available display area in a visitors browser excluding the pixels occupied by the toolbars and other add-ons on the users browser use the following javascript code ...

Read More
Comments(0)
Tags: HTML
April 23, 2010
Overwrite old click event function Not Working in IE

Hi everyone
I just came across this problem that is happening in IE.
In the html I am adding an onclick event to an element that calls a function 'changeStatus' like this ...

Read More
Comments(0)
Tags: HTML, jQuery
January 6, 2010
Submit form to a new window, with window.open() features

To submit form to new window, we set the target attrubutes to '_blank'. But we can't set the new window's property such as height, width etc. So to submit the form to new window with 'window.open()' features, Let's look at the below code ...

Read More
Comments(0)
Tags: HTML