.NET Logo
Welcome Guest Search | Active Topics | Members | Log In | Register

ถามเรื่อง "สั่งให้ ไป focus ปุ่ม log in หลังจากกรอกข้อมูลใน textbox เสร็จแล้ว" Options · View
copyalways
Posted: Sunday, August 24, 2008 2:59:46 PM
Rank: มือฝึกหัด
Groups: Member

Joined: 8/20/2008
Posts: 5

ผมเขียนโปรแกรมมีหน้า log in ให้ผู้ใช้กรอก username กับ password แล้วก็มีปุ่ม log in

ผมอยากให้หลังจากผู้ใช้กรอก User Name กับ Password เรียบร้อยแล้ว โปรแกรมไป focus ที่ปุ่ม log in ให้เองเลย โดยที่เขาไม่ต้องไปกด tab เพื่อโฟกัสไปที่ปุ่มก่อนกด enter เอง

ต้องทำอย่างไรครับ

ขอบคุณมากครับ

mrxc
Posted: Monday, August 25, 2008 12:24:02 PM
Rank: มือเทพ
Groups: Member

Joined: 3/6/2008
Posts: 196
Location: TH

ตั้งปุ่ม Login ให้เป้น Accept Button ของฟอร์ม Login

Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.


Sponsored by