jQuery event delegation - Adding/removing markup dynamically

added by novogeek
1/7/2010 9:34:18 PM

0 Kicks, 58 Views

In web apps, most of the times, we would require adding and removing controls to a web page dynamically. E.g.,adding "Browse" buttons for email attachments(live mail, gmail etc). In a traditional ASP.NET app, we used to build a string containing markup and append it to some control. However, this requires postback. This article explains how to add/remove markup dynamically using jQuery.