passing the form via javascript in menuitem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jimijon
Beginner
Beginner
Posts: 8
Joined: Fri Apr 09, 2004 1:52 am
Contact:

passing the form via javascript in menuitem

Post by jimijon »

Hello I have the following code:
menuScriptText.append("aI(\"text="+codeName+";url=javascript:submitGroupCode(this.form, '"+codeName+"');\");");

but my javascript routine is telling me that f has no properties:

Error: f has no properties

the routine is:

function submitGroupCode(f, code){
f.selectedGroupCode.value=code;
f.submit();
}

please help
Post Reply