Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 947 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Javascript :

Problem with Save As Dialog using Javascript

Thread title: Problem with Save As Dialog using Javascript
Reply    
    Thread tools Search this thread Display Modes  
05-08-2009, 03:23 PM
#1
buddhi225 is offline buddhi225
Status: I'm new around here
Join date: May 2009
Location:
Expertise:
Software:
 
Posts: 13
iTrader: 0 / 0%
 

buddhi225 is on a distinguished road

  Old  Problem with Save As Dialog using Javascript

Hello,

I am facing a Big problem with SaveAs Dialog box created using JavaScript.
My requirement is to allow user to enter the File Name in SAve As Dialog Box in which he/she can save the Data.
I am using "document.execCommand('SaveAs','false','ProfileNam eToSave.xml');" to do this.
But how can I get the path of File Name from execCommand, entered by user into a variable which can be used further to write the Data.
Also I am able to see only the File types as HTML and txt in Dialog.

No help is available on web on this topic. I am stuck badly with this issue.

Thanks is advance.
Regards,

Reply With Quote
07-19-2009, 06:29 PM
#2
santa is offline santa
santa's Avatar
Status: Member
Join date: Mar 2009
Location: Location: location.
Expertise: Design, HTML
Software: Espresso, Photoshop, Mail.app
 
Posts: 398
iTrader: 7 / 100%
 

santa is on a distinguished road

Send a message via ICQ to santa Send a message via AIM to santa Send a message via MSN to santa Send a message via Yahoo to santa Send a message via Skype™ to santa

  Old

The document.execCommand only works in IE, which is probably why you can't see it in your other browser. I know you can do it in Flash, but I don't think JS is capable of doing this (cross-browser) anyway.

Sorry mate.

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed