
June 8th, 2001, 02:47 PM
|
|
Junior Member
|
|
Join Date: Jun 2001
Location: Boston, MA
Posts: 6
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
debug your script
Try using alerts to figure out where your objects are.
var myframe = parent.selectsquad;
var myform = parent.selectsquad.SelectSquad;
alert('frame: ' + myframe + '\nform: ' + myform);
I think you've got the frame identified, but I'll bet there's something wrong with the way your addressing the form. Maybe it hasn't been created yet.
Also, try using the frames[], forms[], and elements[] arrays to get at the object. Try testing them by returning the length of each.
|