%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home1/dimen328/libertysa.com.br/admin/modules/newsletter/
Upload File :
Create Path :
Current File : //home1/dimen328/libertysa.com.br/admin/modules/newsletter/CadFormJS.js

$(document).ready(function(){
	
	(function (){
		//definir url + oper 
		$.ajax({
			url: "modules/newsletter/CTRL.php",
			type: 'POST',
			data: { oper: "6"},
			complete: function (e, xhr, result) {
				if (e.readyState == 4 && e.status == 200) {
	 
					try { 
						var Obj = eval("(" + e.responseText + ")"); //Combo OS
					}
					catch (err) {
					}
					
					if(Obj != null){
						$("#lista_email").text(Obj);
					}
				}
			}
		});
	})();
	
	$("#btnvoltar").click(function(){
		$(".closeCad").click();	
	});
	//copia o codigo do textarea
	document.querySelector("#btncopiar").onclick = function() {
		var divACopiar = document.querySelector("#lista_email");
		var range = document.createRange();
		range.selectNode(divACopiar);
		window.getSelection().addRange(range);
		document.execCommand("copy");
	};
	
});

Zerion Mini Shell 1.0