Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Zpool Supported on Oracle Enterprise Linux

User461246Aug 27 2019 — edited Aug 28 2019

Is Zpool (ZFS) supported and can be legally used and shipped using products on Oracle Enterprise Linux ?

Trying to use Zpool compression feature that provides a superior compression.

Comments

anai
Answer

You could use indexOf, but that doesn't work in IE.

Try this:

var list = [ "1", "2", "3", "4"];

alert(jQuery.inArray( "3", list ));  //this will return 2

alert(jQuery.inArray( "5", list )); //this will return -1

If the element is not in list, inArray will return -1. So basically, you need to check if the returned value is -1 (the element is not in list) or greater (the element is in list).

Marked as Answer by raoul · Sep 27 2020
1 - 1

Post Details

Added on Aug 27 2019
2 comments
3,133 views