|
|
| Can anyone tell me the syntax for specifying a default value for a parameter to a function. When I do function foobar(moo, hax = 123). I get syntax errors. Firefox says: Error: missing ) after formal parameters. Source Code: Function SwapToForm(el, method = "post"). And points to the = sign. Any ideas? |