VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Electronic Gateways
 setfocus
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

unknown
Starting Member

8 Posts

Posted - April 04 2005 :  03:47:55  Show Profile  Reply with Quote
does anyone no how to set the focus of the cusor into a dialog box

devshb
Senior Member

United Kingdom
1898 Posts

Posted - April 04 2005 :  04:14:06  Show Profile  Visit devshb's Homepage  Reply with Quote
It depends on what you mean by a dialog box (ie a javascript alert, or a popup html/javsacript/asp window)


if it's any help, to focus the cursor onto a specific item (field, button etc) when the page loads, you'd add this inside the body definition:


onLoad="document.yourformname.yourfieldname.focus()"


(replacing "yourformname" and "yourfieldname" to whatever your real form/field names are that you want the cursor to focus on)

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000