Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 09:26:46 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Define onKeydown function for the buttons "OK" and "Cancel" on linb.Alert  (Read 425 times)
saulomartins
Jr. Member
**
Posts: 7


View Profile
« on: October 27, 2011, 09:49:51 AM »

Hello!
How can i define onKeydown function for the buttons "OK" and "Cancel" on linb.Alert ?
This is my code example:



Please can you show me an example?
Thank you!
Logged
linb
Administrator
Hero Member
*****
Posts: 435


View Profile
« Reply #1 on: October 27, 2011, 05:19:56 PM »

There's only a onclick event:

linb.UI.Dialog.alert('title','content',function(){
     linb.message('close');
})
Logged
saulomartins
Jr. Member
**
Posts: 7


View Profile
« Reply #2 on: October 28, 2011, 04:05:14 AM »

Ok, Thank you!!!
In this case i will use javascript alert('Test');
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!