Jump to content

Thang Pham

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Thang Pham

  1. Hello. I'm having problem with data-transition in jQuery mobile

    If I use this code without having "id" parameter in the href :
    $('#allList').append('<li><a href="#DeadlineDetail" data-transition = "flow" >'+ allDeadline.class +'<br>'+ allDeadline.duedate+'  '+ allDeadline.duetime+'<br>'+ allDeadline.description +'</a></li>');
    The data-transition can work normally
    But if I add the "id" parameter to the href like this so there will have no data-transition animation
    $('#allList').append('<li><a href="?id='+allDeadline.id+'#DeadlineDetail" data-ajax = true data-transition = "flow" >'+ allDeadline.class +'<br>'+ allDeadline.duedate+'  '+ allDeadline.duetime+'<br>'+ allDeadline.description +'</a></li>');

    Do u have any solution for this ? Thanks alot

     

×
×
  • Create New...