Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/04/2011, 01:41
Avatar de Xerelo
Xerelo
 
Fecha de Ingreso: mayo-2009
Mensajes: 2.175
Antigüedad: 15 años
Puntos: 306
Respuesta: No logro usar el no conflict mode de jquery

Este es el foro de java, y tú estás preguntando por javascript.

http://www.forosdelweb.com/f13/

De todas formas, el no conflict se utiliza si usas como alias "$" en vez de "jquery", ya que hay otras librerías que también usan ese alias. Lo que hace jquery.noconflict() es que "$" se aplique solo a la otra librería, y en función de donde llames a jquery, no hace ni falta.

Cita:
This will revert $ back to its original library. You'll still be able to use "jQuery" in the rest of your application.
Cita:
If you include jQuery before other libraries, you may use "jQuery" when you do some work with jQuery, and the "$" is also the shortcut for the other library. There is no need for overriding the $-function by calling "jQuery.noConflict()".
http://docs.jquery.com/Using_jQuery_...ther_Libraries
__________________
Cada vez que solucionas los problemas de alguien que no se esfuerza, piensa en que el día de mañana puede llegar a ser tu compañero de trabajo, o peor, tu jefe.