Those who have a GMail account probably recognize its similarity to the attachment feature when composing new email. Since Gmail’s javascript seems to be hidden… or scrambled… or… whatever they did to it, I was left in the dark trying to figure this one out on my own. See the below Code: <input type="hidden" value="0" id="theValue" /> <p><a href="javascript:;" onclick="addElement();">Add Some Elements</a></p> <div id="myDiv"> </div> The hidden input element simply gives you a chance to dynamically call a number you could start with. This, for instance could be set with PHP or ASP. The onclick event handler is used to call the function. Lastly, the div element is set and ready to receive some children appended unto itself (gosh that sounds wierd). Add Element Javascript Function: function addElement() { var ni = document.getElementById('myDiv'); var numi = document.get...
I love Programming, and Eager to learn New things Curious about Microsoft Products, Interested in Knowledge sharing. If you can dream IT, You can become it, If you can think IT, You can do IT, If you can believe it, you can achieve IT.