Gracias por estos tutoriales, no sabes cuando me han ayudado, seria posible hacer un tutorial, de esta mismo forma pero aplicando el insertar la lista a una base de datos por php?
Espero que puedas hacerlo seria muy interesante. saludos.
Ante todo decirte que es un excelente material que me ha enseñado muxo. Estoy intentado hacer algo parecido, es decir, distribuir una lista inicial de elementos entre 2 "carros". Mi pregunta es como hago para evitar elementos repetidos, es decir, como los elimino de la lista inicial y como retifico si lo he movido al "carro" equivocado. Muxas gracias.
@mcconvilleandrew Hi, it shouldn't be a problem since ui.draggable lets you manipulate the currently dragged object no matter what it is, so for example if you had an img tag on the list you can get the source like this:
ui.draggable.find('img').attr('src') and use it to append the img.
Hopefully this isn't very confusing youtube doesn't let me post html tags in comments.
@mcconvilleandrew That's exactly what I did, It shouldn't be a problem using it like that, although I've been using the jQuery Templating Plugin (I talk about it on my latest vid) from a couple weeks now when I mix HTML and JS. I find it more flexible but just for that line of code it's not worth it IMO.
pregunta como sabes tanto de las funciones especificas... ten es un manual completo de jquery??? me gustaria a prender jquery.... me gustara aplicarlo en u n sistema q toy haciendo para un tesis
@EdgardoLuis Bueno la mayoria me las he aprendido de memoria porque las he usado ya por mas de 2 años, pero si necesitas refrescar la memoria o aprender funciones nuevas la documentacion de jQuery oficial es execelente
gracias se agradece un monton, he logrado realizar un proyecto bastante optimo gracias a este tutorial
koutFloyd2130 3 months ago
Muy buen tutorial muchas gracias...
xxMorGanAxx 3 months ago
Gracias por estos tutoriales, no sabes cuando me han ayudado, seria posible hacer un tutorial, de esta mismo forma pero aplicando el insertar la lista a una base de datos por php?
Espero que puedas hacerlo seria muy interesante. saludos.
AbrahamSerey 3 months ago
Ante todo decirte que es un excelente material que me ha enseñado muxo. Estoy intentado hacer algo parecido, es decir, distribuir una lista inicial de elementos entre 2 "carros". Mi pregunta es como hago para evitar elementos repetidos, es decir, como los elimino de la lista inicial y como retifico si lo he movido al "carro" equivocado. Muxas gracias.
soybogue 8 months ago
muy buenos tus vídeos, sigue así!! :)
edumaldonado1 8 months ago
This has been flagged as spam show
Tiene un problema cuando se quitan todos lo elementos arrastrados no permite agregar nuevamente sin relogear el navegador a si no vale =( .....
rapblack2 11 months ago
Tiene un problema cuando se quitan todos lo elementos arrastrados no permite agregar nuevamente sin relogear el navegador a si no vale =( -....
rapblack2 11 months ago
En extremo interesante, definitivamente, el mejor mateial en Español sobre JQUERY.
sabigual 1 year ago
excelente tutorial, entendible 100%, muchas gracias...
anjovi4 1 year ago
What if I want an image in the list item instead of text.
What do I change text() to? How do I get the image to prepend:
ui.draggable.text()
mcconvilleandrew 1 year ago
@mcconvilleandrew Hi, it shouldn't be a problem since ui.draggable lets you manipulate the currently dragged object no matter what it is, so for example if you had an img tag on the list you can get the source like this:
ui.draggable.find('img').attr('src') and use it to append the img.
Hopefully this isn't very confusing youtube doesn't let me post html tags in comments.
jvsoftware 1 year ago
@jvsoftware Thanks, I did this:
$(this).prepend('[li]' + '[img src="' + ui.draggable.find('img').attr('src') + '" /]')
Does that look good? It works good but is it the right way?
mcconvilleandrew 1 year ago
@mcconvilleandrew That's exactly what I did, It shouldn't be a problem using it like that, although I've been using the jQuery Templating Plugin (I talk about it on my latest vid) from a couple weeks now when I mix HTML and JS. I find it more flexible but just for that line of code it's not worth it IMO.
jvsoftware 1 year ago
pregunta como sabes tanto de las funciones especificas... ten es un manual completo de jquery??? me gustaria a prender jquery.... me gustara aplicarlo en u n sistema q toy haciendo para un tesis
EdgardoLuis 1 year ago
@EdgardoLuis Bueno la mayoria me las he aprendido de memoria porque las he usado ya por mas de 2 años, pero si necesitas refrescar la memoria o aprender funciones nuevas la documentacion de jQuery oficial es execelente
jvsoftware 1 year ago