I have the following code. The html elements with class .acc_container are created dynamically through an AJAX call, so they do not exist when the code $('.acc_container').hide();
. Is there something I can do here that looks like a .live
function to bind an event?
$(document).ready(function () { $('.acc_container').hide(); $.ajax({ type: 'GET', url: 'Sample.xml', dataType: 'xml', success: function (xml) {
source share