Archive

Posts Tagged ‘HTML’

Controlling JavaScript Execution Order

Feb 26th, 2010

Here is my experiment with delaying JavaScript execution order. I have tried various methods I can remember and all failed. So, I have written an efficient script (I think!) for delaying the execution of dependent JavaScript code.
I had three lines of code. First was External JavaScript file. Second was call to a function declared inside [...]

Add Input Fields Dynamically to Form Using JavaScript

Feb 8th, 2010

Here you will get working code for adding input fields dynamically using a link or button. Default number of input fields are provided and you want to give users a option to add more input elements then this script will work. Be it Input box field, Textarea or any other form elements,  it will work [...]

Web Scripting Top Blog Posts of 2009

Dec 20th, 2009

All are writing something something related to year end. So, what should I write. I though to write about the top visited posts of 2009 on my blog.
I hope you will enjoy reading it. I am sure my regular visitors will like this post.
Dynamically Populate Select List by Ajax
PHP Login and Logout Script
Javascript show hide [...]

Image Swap with Text for Search Engine Optimization

Nov 29th, 2009

Example image swap code for SEO. This code meet certain requirements which are mentioned in the article. Few are:template kind of code, image size can differ.

HTML5 – What I don’t like?

Oct 25th, 2009

Something I have not find interesting in HTML5. HTML5 specification is in draft mode. So, I have thought it is good time to express our opinion.

Permanent 301 Redirect, using HTML and PHP

Oct 25th, 2009

In case, you do not have option of using server side header directive then you can use HTML method of 301 permanent redirect.

Display Message for Short Duration

Oct 13th, 2009

Display message that hide itself after certain interval or after user say’s to hide it. Released it for beginners.

Avoid Resubmitting HTML Form

Oct 12th, 2009

learn how to submit form and handle error and success. Important is how to avoid resubmitting of form.

JavaScript: Default Values in Input Elements

Sep 13th, 2009

This script provides input help to users going to fill a form on your website.
Sometimes you will see a tool-tip for each input-box or you see a default text is already entered in box to understand what should go inside the input box. This script is to provide a way to have default value in [...]

Adding Content Before & After HTML Tags using CSS

Aug 15th, 2009

Using css2 we can add content before or after any HTML elements. This gives us control over the dynamically generated content.
Suppose, some HTML contents are coming through widget, And we do not have any control over them. Then, we can either use server side scripting language to get the HTML and modify those content. This [...]