hi
I'm looking at a JavaScript code that has a function with the following syntax:
you see the "[value]" there? is that valid?Code:function validate_mod_resource_mod_form_reference[value](element) { …. }
| SitePoint Sponsor |
hi
I'm looking at a JavaScript code that has a function with the following syntax:
you see the "[value]" there? is that valid?Code:function validate_mod_resource_mod_form_reference[value](element) { …. }

Where did you see this been done as there is no way you use an array reference on a function that's not a prototype of the Object family
Blog/Portfolio | Evolution Xtreme | DFG Design | DFG Hosting | CSS-Tricks | Stack Overflow | Paul Irish
Having lame problems with your code? Let us help by using a jsFiddle

Blog/Portfolio | Evolution Xtreme | DFG Design | DFG Hosting | CSS-Tricks | Stack Overflow | Paul Irish
Having lame problems with your code? Let us help by using a jsFiddle
Bookmarks