Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

233
Vistas
Links are not working in Sortable container (in Android )

In the image below is my sortable container and individual image can be dragged and dropped to sort. But the action links(icons) in the box are not working on the android browser because of the Js. When I remove sortable JS the links work fine. How can I make both of them work together?

enter image description here

Sortable Js

$("#sortable").sortable({
            cursor: "move",
            start: function (event, ui) {
                ui.item.startPos = ui.item.index();
            },
            stop: function (event, ui) {
                var id = ui.item.attr("id");
                var PropID = $("#PropID").html();
                var obj = {
                    PropID: PropID,
                    ID: id,
                    Pos1: ui.item.startPos ? ui.item.startPos : 0,
                    Pos2: ui.item.index() ? ui.item.index() : 0
                }
                try {
                    $.ajax({
                        type: "POST",
                        url: "/members/pm-add-photos.aspx/MovePhoto",
                        data: JSON.stringify(obj),
                        contentType: "application/json; charset=utf-8",
                        dataType: "json",
                        success: function (msg) {
                            var result = msg.d;
                            if (result.toLowerCase().indexOf('error') > -1) {
                                triggertoast("", "We're sorry, there seems to have been an error.", "error");
                            }
                        },
                        error: function (response) {
                            console.log(response);
                        },
                    });

                }
                catch (err) {
                    triggertoast("", "We're sorry, there seems to have been an error.", "error");
                }
            }
        });
        $("#sortable").disableSelection();
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda