Web >> Development >> Javascript >> How to handle form field object names containing special characters

For example form name=inputform input type=text name="name with spaces" in Javascript the object is referred to as document.inputform['name with spaces']