Category Archives: HTML

Dynamically generate HTML elements using javascript and save them on server

Dynamically generate HTML elements using javascript and save them on server Today while working in office, I had a requirement where I was required to generate dynamic elements in HTML form and then later on submit the form to a … Continue reading

Posted in HTML | Leave a comment

How to align the value in a text box using javascript?

How to align the value in a text box using javascript? I found various methods to do it on google, but only one of them worked for me. Hence I decided to write a post on this. function mytest3() { … Continue reading

Posted in HTML | Leave a comment

How to access embedded iframe’s internal elements?

How do I access internal form elements of iframe which is embedded in an HTML page. Ofcourse document.forms[0] will give me the first form in the parent document. But what I need is the form of the iframe. Here is … Continue reading

Posted in HTML | Leave a comment

How to reload an iframe from within its source

Hi, Today I had a requirement where it was desired that on click of a button an iframe should get re-loaded and that button was within the source of that iframe. I tried everything else on google, but nothing worked. … Continue reading

Posted in HTML, jQuery | 1 Comment

Add zooming effect to images on your website

You must have wondered, how to add zooming effect to an image.Its pretty simple to do…. A simple attribute of has the capbility of doing it <img src="http://www.celebrity-pictures.ca/Celebrities/Katrina-Kaif/Katrina-Kaif-i105058.jpg&quot; onmousedown=”this.height=450;this.width=600″ onmouseup=”this.height=150;this.width=200″ width=200 height=150> Output : Here are few of the event … Continue reading

Posted in HTML | Leave a comment