On 12/22/06, tito surya wardhana <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> oh..jadi ngga ada hubungannya dengan php yah, nah gimana caranya setelah
> input barcode tadi langsung diproses, jadi ngga perlu tekan tombol submit.
> karena proses barcode dgn keyboard sama (dan berhubung barcodenya blom
> punya), saya buat sample seperti ini :
>
> <html>
> <form name=form1 action="" method="post">
> <input type="text" name="barco" >
> <?
> if($submit)
> {
> echo $barco;
> }
> ?></html>
>
> apakah saya harus tambahkan onchange="javascript:submit();" atau onkeypress
> di input type=text - nya.
>
> mohon penjelasannya lagi.
>
> tito
Coba pakai onchange, lalu periksa jika karakter yang masuk adalah
ENTER. Kalau ENTER maka submitkan form nya.
--
Cheaper, Faster, Better: Only can get two of them. Cannot get three of them.
Programmer, Lecturer: Cannot get rich with two of them. The third is missing.
--
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/