Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

possible to stream new data object with Javascript?????

Status
Not open for further replies.

elaurenceau

Programmer
Joined
Jan 30, 2007
Messages
3
Location
AR
I'm trying to create a lightweight javascript function to mimick the functionality of one of our web services.

When a user clicks a link, I'd like to have the page automatically create a file for them to download containing iCal data.

It's currently set up where user clicks the link, page makes a server request, servlet returns the .ics file through a contentType(text/calendar).

Is it possible to do this in javascript assuming the flash page already contains all the data neccessary for the .ics file?

TIA
 
Through javascript no, but through vbscript or jscript yes.
To my knowledge javascript can not create files, only server side code can create a file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top