Re: [ITCENTER] PHP : Enter tidak berfungsi (solved)

2007-04-16 Terurut Topik tito surya wardhana
thanks atas semua masukannya, bila actionnya ke halaman ini juga biar tombol 
enternya berfungsi.. skripnya kira2 seperti ini 
   
  form name=form1 method=post action=''
input type=text name=namainput type=submit value=submit name=submit
/form
  ?
if($nama !=''){
 echo $nama;
}else{
}
   
  salam
   
  tito
Wiempy [EMAIL PROTECTED] wrote:
  - Original Message - 
From: tito surya wardhana [EMAIL PROTECTED]
To: itcenter@yahoogroups.com
Sent: Friday, April 13, 2007 2:16 PM
Subject: [ITCENTER] PHP : Enter tidak berfungsi

 Dear all,

 ada 2 pertanyaan nih, yg pertama
 saya buat script seperti ini :

 form name=form1 method=post action='' 
 input type=text name=namainput type=submit name=submit value=submit
 /form
 ?
 if($submit){
 echo $nama;
 }
 ?

 kenapa klo saya tekan enter, formnya tidak submit yah, tapi klo saya tekan 
 tombol submitnya baru jalan. Kecuali klo action-nya ke halaman lain, baru 
 tombol enternya berfungsi.
 yang kedua, misal saya buat program, kadang ada halaman yg klo saya tekan 
 tombol back , keluarnya page not found, tapi klo saya ketik ulang 
 halamannya keluar.

 mohon bantuannya

 salam
 tito

Wpy:
Mas Tito,
Saya juga nemuin masalah seperti itu, belum ketemu caranya untuk
mengakali hal tsb.

Tapi anehnya pada beberapa browser fungsi enter itu berfungsi.
Mungkin masalahnya ada di browser yg dipake oleh Mas Tito.
Coba ganti browsernya dgn yg lain. Ada yg bisa jalan, ada yg
tdk bisa jalan, tergantung dari browser tsb.

Kalau yang tombol back, mungkin ini masalahnya ada di cache,
atau juga memang ada bug di browsernya, coba anda clear cache
terus dicoba lagi.

Salam,
Wiempy



 

   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.

[Non-text portions of this message have been removed]



-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##

## Jaket ITCENTER tersedia di http://shop.itcenter.or.id 
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/ITCENTER/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/ITCENTER/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [ITCENTER] PHP : Enter tidak berfungsi

2007-04-15 Terurut Topik Wiempy
- Original Message - 
From: tito surya wardhana [EMAIL PROTECTED]
To: itcenter@yahoogroups.com
Sent: Friday, April 13, 2007 2:16 PM
Subject: [ITCENTER] PHP : Enter tidak berfungsi


 Dear all,

 ada 2 pertanyaan nih, yg pertama
 saya buat script seperti ini :

 form name=form1 method=post action='' 
 input type=text name=namainput type=submit name=submit value=submit
 /form
 ?
 if($submit){
 echo $nama;
 }
 ?

 kenapa klo saya tekan enter, formnya tidak submit yah, tapi klo saya tekan 
 tombol submitnya baru jalan. Kecuali klo action-nya ke halaman lain, baru 
 tombol enternya berfungsi.
 yang kedua, misal saya buat program, kadang ada halaman yg klo saya tekan 
 tombol back , keluarnya page not found, tapi klo saya ketik ulang 
 halamannya keluar.

 mohon bantuannya

 salam
 tito

Wpy:
Mas Tito,
Saya juga nemuin masalah seperti itu, belum ketemu caranya untuk
mengakali hal tsb.

Tapi anehnya pada beberapa browser fungsi enter itu berfungsi.
Mungkin masalahnya ada di browser yg dipake oleh Mas Tito.
Coba ganti browsernya dgn yg lain. Ada yg bisa jalan, ada yg
tdk bisa jalan, tergantung dari browser tsb.

Kalau yang tombol back, mungkin ini masalahnya ada di cache,
atau juga memang ada bug di browsernya, coba anda clear cache
terus dicoba lagi.

Salam,
Wiempy





-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##

## Jaket ITCENTER tersedia di http://shop.itcenter.or.id 
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/ITCENTER/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/ITCENTER/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [ITCENTER] PHP : Enter tidak berfungsi

2007-04-15 Terurut Topik Acho
Yang masalah page has expired jika di back, mungkin bisa pake ini :

header(Cache-control: private);

Muhadkly - Acho- , http://muhadly.info
==
- Original Message - 
From: Wiempy
To: ITCENTER@yahoogroups.com
Sent: Monday, April 16, 2007 11:16 AM
Subject: Re: [ITCENTER] PHP : Enter tidak berfungsi


- Original Message - 
From: tito surya wardhana [EMAIL PROTECTED]
To: itcenter@yahoogroups.com
Sent: Friday, April 13, 2007 2:16 PM
Subject: [ITCENTER] PHP : Enter tidak berfungsi

 Dear all,

 ada 2 pertanyaan nih, yg pertama
 saya buat script seperti ini :

 form name=form1 method=post action='' 
 input type=text name=namainput type=submit name=submit value=submit
 /form
 ?
 if($submit){
 echo $nama;
 }
 ?

 kenapa klo saya tekan enter, formnya tidak submit yah, tapi klo saya tekan
 tombol submitnya baru jalan. Kecuali klo action-nya ke halaman lain, baru
 tombol enternya berfungsi.
 yang kedua, misal saya buat program, kadang ada halaman yg klo saya tekan
 tombol back , keluarnya page not found, tapi klo saya ketik ulang
 halamannya keluar.

 mohon bantuannya

 salam
 tito

Wpy:
Mas Tito,
Saya juga nemuin masalah seperti itu, belum ketemu caranya untuk
mengakali hal tsb.

Tapi anehnya pada beberapa browser fungsi enter itu berfungsi.
Mungkin masalahnya ada di browser yg dipake oleh Mas Tito.
Coba ganti browsernya dgn yg lain. Ada yg bisa jalan, ada yg
tdk bisa jalan, tergantung dari browser tsb.

Kalau yang tombol back, mungkin ini masalahnya ada di cache,
atau juga memang ada bug di browsernya, coba anda clear cache
terus dicoba lagi.

Salam,
Wiempy




-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##

## Jaket ITCENTER tersedia di http://shop.itcenter.or.id 
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/ITCENTER/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/ITCENTER/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[ITCENTER] PHP : Enter tidak berfungsi

2007-04-13 Terurut Topik tito surya wardhana
Dear all,

ada 2 pertanyaan nih, yg pertama 
saya buat script seperti ini :

form name=form1 method=post action='' 
input type=text name=namainput type=submit name=submit value=submit
/form
?
if($submit){
echo $nama;
}
?

kenapa klo saya tekan enter, formnya tidak submit yah, tapi klo saya tekan 
tombol submitnya baru jalan. Kecuali klo action-nya ke halaman lain, baru 
tombol enternya berfungsi.
yang kedua, misal saya buat program, kadang ada halaman yg klo saya tekan 
tombol back , keluarnya page not found, tapi klo saya ketik ulang halamannya 
keluar.

mohon bantuannya

salam 
tito

   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.

[Non-text portions of this message have been removed]



-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##

## Jaket ITCENTER tersedia di http://shop.itcenter.or.id 
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/ITCENTER/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/ITCENTER/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [ITCENTER] PHP : Enter tidak berfungsi

2007-04-13 Terurut Topik Charpus
kalo diakalin pake begini gimana pak:

pada input type=text' name=nama jadi input type=text' name=nama
onKeyPress=formSubmit(event)

tambahkan script ini:
function formSubmit(e) {
 var key;

 if(window.event)
  key = window.event.keyCode; //untuk IE
 else
  key = e.which; //untuk firefox
 if(key == 13)
  document.getElementById('form1').submit();
}

[CMIIW]


Regards


[Non-text portions of this message have been removed]



-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##

## Jaket ITCENTER tersedia di http://shop.itcenter.or.id 
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/ITCENTER/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/ITCENTER/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/