inArray doesn't return a boolean, it returns an index and -1 if the
value is not in the array.
jQuery.inArray( value, array )
Determine the index of the first parameter in the Array (-1 if not found).
from: http://docs.jquery.com/Utilities/jQuery.inArray#valuearray
So you need to cha
Sebastián Würtz escribió:
jQuery.getCSS = function(url, media, rel, title) {
estilos_href = new Array();
$.each( document.styleSheets, function(i, n){
estilos_href[i] = n.href;
});
nuevo_estilo = jQuery(document.createElement('link')).attr({
href: url,
m
2 matches
Mail list logo