Get your own copy
Don't hesitate! Just download and test it all by yourself for free!
// Get index of value in array this will alert 1 since 2 is at that index alert(tinymce.inArray([1,2,3], 2));
| Name | Type | Description |
|---|---|---|
| a | Array | Array/Object to search for value in. |
| v | Object | Value to check for inside the array. |