Skip

3 posts tagged with javascript by kaizen.
Displaying 1 through 3 of 3.

Export to Word

I need to take form data from an web page and export it to a Microsoft Word File. I have a bunch of form data in HTML which I can convert to XML/JSON. The users will click 'Export to Word Template 1, 2, 3, etc.' and the website will create a .doc file for them to download depending on the template / look-and-feel they select. Can I do this with non-Microsoft technologies like javascript and Python? The key requirements here is the ability to export the same data to different layouts. I have a feeling I can do this with XML / WordML, but the formatting piece looks daunting. What is the easiest way to do this without hooking into COM?
posted by kaizen on Feb 25, 2009 - 6 answers

Attacking my URL

How do I prevent hackers from embedding scripts into my site's incoming urls. For example, a hacker can easily create a link like link with javascript to ultimately grab users cookies. How do I prevent this from happening. Can I use javascript to prevent this, or is this something that need to be prevented on the server end?
posted by kaizen on Jun 20, 2007 - 10 answers

Closure Exposure

Can someone please explain javascript closures to me in plain english? Closures for Dummies makes me feel like a dummy. What are closures and why would I want to use them? And most importantly, what is a real world example of where they would be really useful. I have no formal CS background, so if you mention CS terms I might get confused.
posted by kaizen on May 8, 2007 - 21 answers

Page: 1
Posts