Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> keyCode
piser
post
Post #1





Grupa: Zarejestrowani
Postów: 17
Pomógł: 0
Dołączył: 20.11.2004

Ostrzeżenie: (0%)
-----


witam mam taki problem, nie moge przeksztalcic kodu entera (13) na kod shift+enter, ma ktos moze jakis pomysl jak to zrobic?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
piser
post
Post #2





Grupa: Zarejestrowani
Postów: 17
Pomógł: 0
Dołączył: 20.11.2004

Ostrzeżenie: (0%)
-----


przykladowy kod ustawiony na onkeypress:

  1. <?php
  2. if(event.keyCode==13) {
  3. event.keyCode=13;
  4. event.shiftKey=true; 
  5. }
  6. ?>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 4.10.2025 - 20:37