Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/04/2011, 13:36
Avatar de ss007
ss007
 
Fecha de Ingreso: marzo-2002
Mensajes: 205
Antigüedad: 22 años, 2 meses
Puntos: 0
Mensaje de Alerta en js

Hola! Les comento, tengo un script en js, necesito agregarle al siguiente codigo una alerta cuanto haga click aparezca un mensaje de alerta.


Código:
getFile: function(curCont, id) {
		var iFrame = frames.fmFileAction;
		
		if(iFrame) {
			var url = fmWebPath + '/action.php?fmContainer=' + curCont + '&fmMode=getFile&fmObject=' + id;
			iFrame.document.location.href = url;
			this.iv = setInterval('fmLib.checkFile()', 250);
			this.fadeOut(this.opacity, this.dialog);
			
			}
		
		
	},
Tengo que integrarlo aqui, si o si. No puedo hacerlo en el html donde creo que seria: onclick='alert("MENSAJE")' value=" ";

Quizas sea una tonteria pero no manejo casi nada js... !!!

Gracias!!!
__________________
MonaS