- $(output).appendTo('#groups-list').replace('/cn/g',' ');
- output = '<li class="dn-wrapper">' +'<span class="dn-class">'+ dn.dn +'</span>' + '</li>';
- $(this).replace("/cn/g", "2")
- $(output).appendTo('#groups-list');
- var str = $(this).replace("/cn/g", "2")
- output = '<li class="dn-wrapper">' +'<span class="dn-class">'+ dn.dn +'</span>' + '</li>';
- $(output).appendTo('#groups-list');
The ajax returns values such as cn=group1, ou=example, etc.. I would like everything except Group1 to be removed upon success.
Let me know if I'm on the right track if I'm missing something obvious.