Welcome Guest Search | Active Topics | Sign In | Register

jQuery Datepicker initialization fails after upgrading jQuery to version 3.5.1 Options
Gesdocument
Posted: Tuesday, August 25, 2020 4:35:41 AM
Rank: Member
Groups: Member

Joined: 5/23/2013
Posts: 24
After upgrading jQuery to version 3.5.1 , EO.PDF -version 15.2.85.0- converts html pages to pdf without initializing a jquery datepicker on document ready throwing the following error : 'undefined' is not a function . Until that it was working with no problem.


All I'm doing is this:

$(document).ready(function () {
$("#year").datepicker();
});


I have tried the latest version of eo.pdf - 20.2.34.0 - and it works flawlessly.

I would like to know if that's an issue you were already aware of and if there's a version of EO.PDF that I can download, greater than EO.PDF 15.2.85.0, with the license I bought - valid until 9/19/2017.
eo_support
Posted: Tuesday, August 25, 2020 10:25:52 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

This is most likely because of the browser engine difference. The core component of EO.Pdf is a built-in browser engine. EO.Pdf 2015 uses a WebKit based browser engine dated back in 2011, which obviously is extremely outdated. The current version is based on Google Chromium V81, which is quite up to date. So it basically just comes down to newer JQuery doesn't support older browsers.

We switched to Chromium engine from version 2016. Because Chromium updates very fast, we constantly updates the engine as well. Version 2017 is based on Chromium 54, which is still quite old considering how fast Chromium updates. However you can give it a try and see if it resolves the issue for you. We will email the download link to you.

Going forward you may want to consider updating to the current version. Browser engine updates very fast these days not only for features, but also for security reasons. New security issues have been constantly discovered and patched over the years. So running EO.Pdf that is several years old is like running a web browser or Windows for several years without applying any security updates. So it's definitely not a good idea.

Thanks!
Gesdocument
Posted: Wednesday, August 26, 2020 3:27:06 AM
Rank: Member
Groups: Member

Joined: 5/23/2013
Posts: 24
Thank you, that make sense!

You have sent me a link to version 17.2.75.0 but unfortunately it's throwing me this message: License 'XXXXXX7627' is not valid for this build.

It seems to be built on 09/12/2017 and my license was valid until 09/19/2017, so I'm not sure why it's telling me that. Could you help me with this?

Thankd
eo_support
Posted: Wednesday, August 26, 2020 11:14:26 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

Make sure you go to your license key page to download a license key specifically for version 2017. Each version uses a different license key.

Thanks!
Gesdocument
Posted: Thursday, August 27, 2020 3:47:34 AM
Rank: Member
Groups: Member

Joined: 5/23/2013
Posts: 24
My bad, now it works as expected. Thank you very much!
eo_support
Posted: Thursday, August 27, 2020 2:38:16 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Great!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.