/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var in_array = function(s,a) {for(var k in a) if(a[k]==s) return 1; return 0;}