#81 ✓resolved
Liam Clancy (metafeather)

form.method = 'POST' raises an error

Reported by Liam Clancy (metafeather) | December 14th, 2009 @ 01:04 AM | in 1.2.x

There is a minor typo in the setter for a FORM elements 'method' attribute:

[scribble]: metafeather $ ant concat
Buildfile: build.xml

     [echo] Building /Users/Shared/Dropbox/MF/Code/git/env-js/dist/env.1.1.rc2.js
     [echo] /Users/Shared/Dropbox/MF/Code/git/env-js/dist/env.1.1.rc2.js built.
     [copy] Copying 1 file to /Users/Shared/Dropbox/MF/Code/git/env-js/dist
     [echo] Building /Users/Shared/Dropbox/MF/Code/git/env-js/dist/env.rhino.1.1.rc2.js
     [echo] /Users/Shared/Dropbox/MF/Code/git/env-js/dist/env.rhino.1.1.rc2.js built.
     [copy] Copying 1 file to /Users/Shared/Dropbox/MF/Code/git/env-js/dist

Total time: 1 second
[scribble]: metafeather $ java -jar dist/env-js.jar 
Rhino 1.7 release 3 PRERELEASE 2009 07 08
js> load('dist/env.rhino.js')
js> var form = document.createElement('form')
js> form.method = 'POST'
js: "dist/env.rhino.js", line 7057: uncaught JavaScript runtime exception: ReferenceError: "method" is not defined.
    at dist/env.rhino.js:7057
    at <stdin>:4


Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

a javascript browser environment

People watching this ticket