You need the :not()
selector:
$('div[class^="first-"]:not(.first-bar)')
or, alternatively, the .not()
method:
$('div[class^="first-"]').not('.first-bar');
ID : 10160
viewed : 37
Tags : javascriptjqueryjquery-selectorsjavascript
97
84
You can use the :not
filter selector:
$('foo:not(".someClass")')
Or not()
method:
$('foo').not(".someClass")
More Info:
71
You can write a jQuery selector in the "not" method:
$('div[class^="first-"]').not($('.first-bar'))
69
50
If you are using an AMD CPU, AMD Virtualization (CPUs such as Ryzen) is now officially supported. Make sure you have virtualization switched on in the BIOS.
In "Turn Windows Features On or Off" (you can find it through Windows Search), you'll need to enable
Once you restart and start up the emulator (an x86 build), it should start booting up without the mentioned error.