rashley
-
Posts
8 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by rashley
-
-
Nevermind, I got it working.
-
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!
-
Hmm. Turns out I can't get the data back via a CGI param after all
-
That did it!So rightSelect.options contains my chosen data, right?Can thank you guys enough!
-
Works like a charm in Firefox, but IE throws a type-mismatch error on the "rightSelect.add(option, null);" line.
-
Well yes, that would be nice, but I think I can take care of that part. This whole thing is part of a cgi app, so I'm pretty sure I can attach the result set to a param and get the data where I need it to go.If I absolutely can't figure it out, I can make the control part of the parent window instead of a pop-up.It's really just the GUI part I'm stuck on. Any help or references would be greatly appreciated.I can get you a code--but then do you want to be able to pass the information of the pop up to the parent window? -
Greetings all.I have need for a pop-up window with one of those widgets that shows a list on the left that allows you to add or remove selections to a list on the right. Same functionality as a mult-select scrolling list box, just a much better inteface for very long lists.I'm fairly new to JavaScript, and haven't been able to find any examples of what I'm talking about.The fact that I don't know the NAME of the type of widget I'm looking for doesn't help either.Still, I've seen these things everywhere, so there must be something out there so I don't have to reinvent the wheel.Do any of you know what this type of interface is called, or better yet, know where I might find some example code for this?Thanks!
XML to Excel with Stylesheet
in JavaScript
Posted
I have XML files that I'm trying to serve via CGI to browser in such a way that it will launch Excel. I also have stylesheets that need to be applied that I want to keep resident on the server. I've been told that there are Java and VB modules that will take XML and a selected stylesheet and transform the XML file into what is essentially an HTML format, but that is also directly supported by Excel. Anyone know of a clean way to do this in JavaScript? Thanks!