cake-php
[Arriba] [Todas las Listas]

bootstrap Calendario javascript alert en cakephp

To: cake-php@xxxxxxxxxxxxxxxx
Subject: bootstrap Calendario javascript alert en cakephp
From: Lau Yi Chen <yc.public30@xxxxxxxxx>
Date: Mon, 10 Jun 2013 00:38:29 -0700 (PDT)
Delivery-date: Tue, 11 Jun 2013 00:07:10 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=616gGlIABW8JCVFVb2Dm9uqqqT1c84B/T7FGE7ht/e8=; b=i0pU3fHi2U8XVDIaYh4pMvMkvZq+wS3aAwo6hMEleM5JyrLtkQSDtKK/Pe2GLMVa8t MKL09hy4AO1Q1LfCy6aKODNTQiL0GPDPNXIhFyeUdZG0YDdzIKHnSJIrCxx0xWjwc7sS taOTs4PgY3ihPkgqiW7/iweTKCkBkQTDYlcOysM725MvAy8mbP+xMoaV+oTIhnkbPNrE fbmtzEhWg3t18OQo0K1CXHnn/eOUY8wySNjRFZJXkLLdOeNeVOtcUx4uY0vfOLOxCOU5 ub+Okd9QIJNP5T2Ue+sBJhhInekpR6f3TsRjC8nfNFuggvFlHMqUHStR9SPAbqBUlED4 qXOQ==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-beenthere:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=616gGlIABW8JCVFVb2Dm9uqqqT1c84B/T7FGE7ht/e8=; b=bgrZ8unpVIyicmK5VadFP1ICSTcQBS7boIE1+7bO6yI3FFwiIXKq6+fiSVEpxp4FpD 2DJotv8/vLBf+8zKXZVT3pssqBB1hpiyM9QjSRCKIUPkuTLGx4bzmEBVipDOd3PeqwUU P8DMhPo885smTBHplG1DU6QE4JzfpHVC1v9MgNmgWxeF5ICb4gMPG5sRtoAWFgYFW16c IahPieiKpw6SVGMbfYHqtwWs9ehhVL6jI1Ea7q6fXeEcD1Ibu4h0Yyf/AGGSeKUC9TB6 WeZw1aAw3MOz62BCv45VeLxNj2m/2JT77Fb/Tbu7+I+pt4aB9hDrRvurvndz2kSXrL+r QeJg==
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <http://groups.google.com/group/cake-php?hl=en>
List-help: <http://groups.google.com/support/?hl=en>, <mailto:cake-php+help@googlegroups.com>
List-id: <cake-php.googlegroups.com>
List-post: <http://groups.google.com/group/cake-php/post?hl=en>, <mailto:cake-php@googlegroups.com>
List-subscribe: <http://groups.google.com/group/cake-php/subscribe?hl=en>, <mailto:cake-php+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/cake-php/subscribe?hl=en>, <mailto:googlegroups-manage+1003367825667+unsubscribe@googlegroups.com>
Mailing-list: list cake-php@xxxxxxxxxxxxxxxx; contact cake-php+owners@xxxxxxxxxxxxxxxx
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx

Bien, *i soy intenta utilizar este calendario en *cakephp y trabaja.
*https://*github.*com/*ahmontero/*bootstrap-Calendario


soy un muy nuevo y nunca aprender *jquery antes de que.

*ok Ahora *i deseo a hizo alguna modificación en esta fuente de calendario.

Cuando *u ver dentro del *demo.*html Conseguía que *js código.
.En('*onEvent', función(acontecimiento) #unknown{^*alert(acontecimiento.Día.*valueOf() +'-'+ 
Acontecimiento.Mes.*valueOf() +'-'+ Acontecimiento.Año.*valueOf() ); })

El *onEvent  *alert fuera de la fecha cuando elegimos tan día de acontecimientos.

Bien, mi cuestión es .. Cómo para cambiar la palabra de aquel *alert.
Ejemplo: *i lo quiere *alert(hola mi mundo); cuándo *i *onclick los días de acontecimiento como 
*i *donesettings...

 Cualquier ayuda ?

-- 
Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP

--- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*CakePHP" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php?*hl=*en.
Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.



well, i am try to use this calendar in cakephp and it works.
https://github.com/ahmontero/bootstrap-calendar


I am a very new and never learn jquery before.

ok now i wish to did some modification on this calendar source.

As u see inside the demo.html got that js code.
.on('onEvent', function(event){ alert(event.day.valueOf() +'-'+ 
event.month.valueOf() +'-'+ event.year.valueOf() ); })

The onEvent will alert out the date as we picked as events day.

Well, my question is .. how to change the word of that alert.
Example: i want it alert(hello my world); when i onclick the event days as 
i donesettings...

 any help ?

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


<Anterior por Tema] Tema Actual [Siguiente por Tema>