Question

Acually im using a higher version.

The error what is called is (Alert)

blockui requires jquery v1.2.3 or later you are using v.1.11.1

im not using wordpress or any other kind of programms/applications like this...

so solutions for wordpress won't help. i have a private project using jquery and jquery ui...

anyone knows the issue and how to fix this issue ?

Was it helpful?

Solution

I found the issue!

Here is a Fix for all who have the same problem

jquery.blockUI.js

// Old if condition
//if (/1\.(0|1|2)\.(0|1|2)/.test($.fn.jquery) || /^1.1/.test($.fn.jquery)) {

//new if condition
if ((/1\.(2\.([3-9]|[1-9][0-9])|[3-9]\.[0-9]*|[1-9][0-9]*\.[0-9]*)/.test($.fn.jquery)) === false ) {

total condition looks like

if ((/1\.(2\.([3-9]|[1-9][0-9])|[3-9]\.[0-9]*|[1-9][0-9]*\.[0-9]*)/.test($.fn.jquery)) === false ) {
    alert('blockUI requires jQuery v1.2.3 or later!  You are using v' + $.fn.jquery);
    return;
}

this will check the version from 1.2.3 up to 1.99~.99~.

guess there will be a couple of years to reach this :D

OTHER TIPS

You can also try to download and use the latest version of BlockUI:

here

or

here

Just get rid and delete this version check-up.

Remove this part from the blockui.js file:

 if (/1\.(0|1|2)\.(0|1|2)/.test($.fn.jquery) || /^1.1/.test($.fn.jquery)) {
alert('blockUI requires jQuery v1.2.3 or later!  You are using v', [$.fn.jquery]);
return;

}

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top