last day (15 days later) » 

7:05 AM
2
Q: Export to Excel using JavaScript

sqlchildI am using the following code to save the contents of a table in .xls format. Previously this script was working fine , but now it has stopped ...when I click the button then a window opens but NO FILE GETS DOWNLOADED.....? Please help $( "#Export" ).click(function() { var Contents = ...

 
Wow, didn't know you can convert HTML tables into Excel files...
 
Derek : sir , it was working fine and great but today when i tested it , its not working. I can't find out the problem....Both the alert boxes are shown properly also , one shows the HTML of the table and the other shows this message : 'exporting records' , and even the window also opens but no file gets downloaded ....am stuck up here
 
Did you try right-click on the window (I mean the popup), then press "Save as"?
 
But Save As would save more things which I have on the page , like have many divisions also
Can anybody find out the problem in the script
 
See if this helps you. slides.html5rocks.com/#drag-out
 
7:05 AM
is there no solution to this problem?
ITS WORKING IN MOZILLA FIREFOX , BUT NOT IN CHROME AND IE
sir you there
 
get any leads when using chrome's dev console ?
 
7:26 AM
@möter sir , please explain , i din't understand
@moter , sir , should I check the problem in the Chrome Developer Console?
 
yes
 
@möter sir , i navigated to Tools->Javascript Console
@möter but its empty
@moter: sir please help , what shall I do ?
 
goto "scripts". you script should be listed in the scripts browser to the left. reload the page where you have the script. see any output?
 
8:21 AM
@möter NO SIR , there are only two js files which are 404 not found. But those does not effect my script I guess
 
 
2 hours later…
10:21 AM
@moter: dear sir, i would be giving you the whole script and the whole html which works in Firefox but not in Chome , previously it did worked in Chrome but today it stopped ...don't know why ...may be Chrome has auto-updated itself with some new changes which has stopped my script from working.
 

last day (15 days later) »