Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:33

passing the form via javascript in menuitem


Poster: jimijon
Dated: Friday April 9 2004 - 21:26:07 BST

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