Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 37
Registered: ‎03-10-2011
My Device: Not Specified

PB: anyone has swipe to bring up delete button functionality?

  I've been having issues with this (using jQueryMobile on PlayBook).  The button comes up, but clicking on it doesn't execute the onclick function.  Isn't it something like:



$(".listitemsupportsdelete").bind("swipeleft swiperight", function() {
	// swiped item
	var $li = $(this);
	// the button
	var $DeleteButton = $('<a>Delete</a>').attr({
		'class': 'mycssclass', 'onclick' : '"deleteItem("' + $li.attr('rowid') + '")"'});

$("#contents *").page();




I've tried using live('pageshow',function.....) but it hasn't worked either