Jump to content

Object doesn't support this property or method


rashley

Recommended Posts

First of all, I'm very new to J/S.I'm trying a modification of a code snippet I found, but keep getting the error "Object doesn't support this property or method." on this line:

document.getElementById("Finish Codes").value = document.getElementById("Finish Codes rightbox").options.map(function (v) { return encodeURIComponent(v) }).join(',');

The objective is to serialize the options shown in a scrolling list box into a CGI param.Thoughts? Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...