I found this snippet in javascript code:
var name = "someString";
var s = "[name|='"+name+"']";
var nArr = $JQ(s);
Can someone explain what is doing |=?
I see in my debugging tool that I get an array of jQuery elements, all of which have someStringin their name. But I could not find an explanation in the jQuery documentation. What am I missing?
source
share