Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

returnUri: true Breaks when using <button> instead of <a> #20

Closed
cphill02 opened this issue May 23, 2014 · 4 comments
Closed

returnUri: true Breaks when using <button> instead of <a> #20

cphill02 opened this issue May 23, 2014 · 4 comments

Comments

@cphill02
Copy link

When using a instead of an to trigger.

Maybe this is because returnUri relies on the href attribute?
No error is thrown when using

with returnUri : true. Breaks silently.

jsFiddle Test Case:
http://jsfiddle.net/cphill02/cEAh6/

@kingws
Copy link

kingws commented Aug 11, 2014

push...
I'm using in an angular app and it's breaking silently as well. Any plans to fix this?

@tarunbatta
Copy link
Owner

Download attribute only works with anchor tag, and not button.
Refer: http://www.w3.org/TR/html5/links.html#downloading-resources

Please let me know if you think otherwise, or need any other feature in the plugin.

Thanks.

@kingws
Copy link

kingws commented Aug 12, 2014

Mine is in an anchor tag:

+ Export

still no luck. I ended up having to go with server side excel generation because of the lack of IE support with your library. You have a great library though. If IE ever gets with the times I'll definitely be using it. Thanks for the response.

@tarunbatta
Copy link
Owner

Unfortunately, IE is not big in adapting to latest specifications, that's why URI feature is missing in the same.

Also, the plugin documentation already talks about the supported browsers,
http://battatech.com/blog/how-to-export-to-excel-sheet-on-client-side.aspx

Morever, if you need to use a Server Side plugin, please use the following,
https://github.com/battatech/battatech_ServerSideExcelExport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants