I have a PDF document, using a button on the form I submit to a URL using this.submitForm(url, false); works fine with Adobe Reader Plugin but not with Chrome PDF Viewer, does Chrome PDF Viewer submit forms using a different method?

有帮助吗?

解决方案

Chrome has its own PDF viewer called Chrome PDF Viewer, and AcroJS won't work (mostly) on Chrome PDF Viewer. One needs to detect the plug-in, and force the user to use Acrobat Reader if the browser is Chrome's own.

其他提示

Submitting forms is an not yet implemented feature of Chrome PDF Viewer. See http://code.google.com/p/chromium/issues/detail?id=65446 for Details and (missing) progress and star it to push dev's interest.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top