Click here to Skip to main content
15,892,697 members
Home / Discussions / Web Development
   

Web Development

 
Generalbuilding tables Pin
haitham_rasheed23-Mar-04 5:17
haitham_rasheed23-Mar-04 5:17 
Generalregex Pin
alex.barylski22-Mar-04 20:55
alex.barylski22-Mar-04 20:55 
GeneralRe: regex Pin
henningbenk22-Mar-04 21:14
professionalhenningbenk22-Mar-04 21:14 
GeneralRe: regex Pin
Ian Darling22-Mar-04 21:34
Ian Darling22-Mar-04 21:34 
GeneralWeird POST problem Pin
alex.barylski22-Mar-04 18:38
alex.barylski22-Mar-04 18:38 
Generalemail java script validation Pin
harinath22-Mar-04 18:08
professionalharinath22-Mar-04 18:08 
GeneralRe: email java script validation Pin
John Kuhn22-Mar-04 20:17
John Kuhn22-Mar-04 20:17 
GeneralJavascript getElementById Pin
Spiros22-Mar-04 12:02
Spiros22-Mar-04 12:02 
Hi everybody

I have a page with an asp repeater that consists of a list of radio buttons. I am using javascript in order to find the radio button that was checked. Everything works fine in IE but when I try it in NN 7.1 the following piece of code will produce an error.

if (browser == "N")
OnShipOptionChange(RadioButton_GetSelectedNN(window.document.getElementById("<%=m_methodid.UniqueID%>"))); <--this called
else
OnShipOptionChange(RadioButton_GetSelected(window.document.getElementById("<%=m_methodid.UniqueID%>")));


function RadioButton_GetSelectedNN(obj) <--the function called by the code above.
{
for(var idx = 0, max = obj.attributes.length; idx < max; idx++)
{
if(obj[idx].checked == true) <-- line that gives the error
return obj[idx];
}
return null;
}

The Error Message is: "obj[idx] has no properties". I have tried everything and I cannot make it to work. Any help will be highly appreciated. Thank you very much for your time

Spiros Prantalos
Miami the place to be!!
GeneralJavascript confirm() not working Pin
chubbysilk22-Mar-04 10:35
chubbysilk22-Mar-04 10:35 
GeneralRe: Javascript confirm() not working Pin
John Kuhn22-Mar-04 13:53
John Kuhn22-Mar-04 13:53 
GeneralRe: Javascript confirm() not working Pin
John Kuhn22-Mar-04 16:06
John Kuhn22-Mar-04 16:06 
GeneralRe: Javascript confirm() not working Pin
chubbysilk23-Mar-04 7:30
chubbysilk23-Mar-04 7:30 
GeneralImage on image Pin
HobieHero21-Mar-04 19:48
HobieHero21-Mar-04 19:48 
GeneralRe: Image on image Pin
Paul Watson21-Mar-04 22:29
sitebuilderPaul Watson21-Mar-04 22:29 
GeneralSetting the height of a DIV... Pin
theJazzyBrain21-Mar-04 13:21
theJazzyBrain21-Mar-04 13:21 
GeneralRe: Setting the height of a DIV... Pin
alex.barylski21-Mar-04 15:54
alex.barylski21-Mar-04 15:54 
GeneralRe: Setting the height of a DIV... Pin
theJazzyBrain22-Mar-04 11:01
theJazzyBrain22-Mar-04 11:01 
GeneralRe: Setting the height of a DIV... Pin
John Kuhn22-Mar-04 13:45
John Kuhn22-Mar-04 13:45 
GeneralRe: Setting the height of a DIV... Pin
theJazzyBrain22-Mar-04 21:33
theJazzyBrain22-Mar-04 21:33 
GeneralRe: Setting the height of a DIV... Pin
John Kuhn23-Mar-04 10:38
John Kuhn23-Mar-04 10:38 
GeneralRe: Setting the height of a DIV... Pin
theJazzyBrain23-Mar-04 21:16
theJazzyBrain23-Mar-04 21:16 
GeneralRe: Setting the height of a DIV... Pin
John Kuhn24-Mar-04 7:11
John Kuhn24-Mar-04 7:11 
GeneralRe: Setting the height of a DIV... Pin
theJazzyBrain25-Mar-04 20:56
theJazzyBrain25-Mar-04 20:56 
GeneralRe: Setting the height of a DIV... Pin
John Kuhn26-Mar-04 9:20
John Kuhn26-Mar-04 9:20 
GeneralTab Navigation Help Pin
caheo21-Mar-04 2:35
caheo21-Mar-04 2:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.