Category Archives: jQuery

How to expand collapse (toggle) div layer using jQuery

Thanks to http://designgala.com/how-to-expand-collapse-toggle-div-layer-using-jquery In almost all of my projects, I have been using jQuery to toggle the layer. So, I thought of sharing how easy it is to expand div layer and collapse panel using jQuery. When user clicks on … Continue reading

Posted in Client Side Programming, JavaScript, jQuery | Tagged , , | 5 Comments

How to get old Value with onchange() event in text box

You’ll need to store the old value manually. You could store it a lot of different ways. You could use a javascript object to store values for each textbox, or you could use a hidden field (I wouldn’t recommend it … Continue reading

Posted in Client Side Programming, HTML, JavaScript, jQuery | Tagged , , | 2 Comments

How to replace in Javascript, when replacement string is a variable

How to replace in Javascript, when replacement string is a variable Very often we use replace method in javascript while replacing a string literal by another string literal.But what if we need to replace a string whose value is held … Continue reading

Posted in Client Side Programming, JavaScript, jQuery | Tagged , , , , | 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