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:33:47 -0700 (PDT)
Delivery-date: Tue, 11 Jun 2013 00:07:16 -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=jNmq+/Uy9LBn5dRRU0ObP/jOFJxOKfGZC9i+KPtNcRY=; b=nA3Elpc2F5xc8FcVUnBKpXib8p1HlAHz7EO7uD47K5Ki3Vo7hG2HNCi1O3mOLljuhf WULC08QoNYFzjBW3w7V/jpF/+T/FTUHbNgCwwQRwKydY31bZDk/e7T7/1HdbCh9Zp4OO 08ZM5BSEzRKvNO6UzKKrMhMKor88lfGcOzKh8qVK8AfBXuEsLOdkwj0HqVEcVQ7C0kIq XVqowvwtaBtkeCoj6hnCM5boIVb9giumSJ0Ua0H127I+jcLnbIWGcsnPu0I0qT0hIANW 10I7hY1B1I543vT1VZs6SnIysAMgEBohVznGDGUThBV6dlhnHuSn31zdWm85apR7eHBG bEEQ==
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=jNmq+/Uy9LBn5dRRU0ObP/jOFJxOKfGZC9i+KPtNcRY=; b=ib49ZT2O12hHPrrqXW0Vwk0+VZf+McgKqTptt4EFHQXvkKP22BPG/HQ04xCMoDzVe8 atZWgqzEzBQE5Ts2xY2Tk37o6Z5OpMId5pGm09h8Ur+FiJ/AD2dSDdlyDEEyneHsCCJa WJ4IXvToCtA6D/hSQpFxLjQPDMtjzga/MrumDdzo6HL4n8zpxNwWXFCzObVMLQJ2bX9F F5+v8ii5cKJI2y9GcZAX1jlu03/jNg8VDC9MC9EhIR2q5huzmzngCesf8UBw8CFGn7rz 7vX41Pk2GOOQui2LxiH1ShSvuuzP7hN9TyoNDM0msaEM8gWe72RjKDKNYr09HwwLQYZY 8Ssw==
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 aprendido *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 del *onEvent *alert.

Ejemplo: *i lo quiere *alert(hola mi mundo); cuándo *i *onclick los días de acontecimiento tan *i hecho poniendo.

-- 
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 learnt 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 the onEvent alert.

Example: i want it alert(hello my world); when i onclick the event days as i done setting.

-- 
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>