Wrox Programmer Forums
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 14th, 2007, 05:15 PM
Registered User
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Radio button

hellow every body i have problem to geting focus on radio button
i have two radio button with the name tile
i have following code but not working
please help
and how to get focus on chechboxes
thanks in advance


code:

myval=dcument.form1;
for (var i=0;i<myval.title.length;i++)
{
if(myval.title[i].checked)
{
mytitle = 1;
}

}

if (mytitle == 0 )
{
alert("You must be select title field");
myval.title[0].focus();
return (false);
}

Nabi bux
 
Old July 15th, 2007, 12:04 AM
Authorized User
 
Join Date: Jun 2007
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Jolley

Take a look at this :

http://www.thescripts.com/forum/thread91232.html

Ehsan Zaery Moghaddam
 
Old July 15th, 2007, 05:50 AM
Registered User
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for it i have got it now
really too thanks:D

Nabi bux





Similar Threads
Thread Thread Starter Forum Replies Last Post
Radio button gaurisharya C# 2005 2 March 16th, 2008 06:43 AM
radio button anwarraja Javascript 3 September 18th, 2007 08:18 PM
radio-button grstad HTML Code Clinic 3 February 28th, 2006 08:32 AM
Button acts depending on radio button values janise Access 4 March 10th, 2004 12:53 AM
radio button damnnono_86 Access 5 October 28th, 2003 02:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.