How can I bind my own ajax calls to a link when ajaxLinksEnabled = false?
I've successfully set ajaxLinksEnabled = false per the documentation. I've verified this by testing the behavior of normal jquery mobile links. Now I can't bind a custom ajax call to a link. When I click it, jquery mobile somehow reports an empty error response (my server does not flag any errors). It then submits my link as a non-ajax request. It would appear that jquery mobile is still duplicating my links, since one is responding with a javascript error without ever hitting the server, and the other is being submitted as a full page request. It also appears that jquery mobile is somehow messing with the binding of my links. I've even tried $('my_link-selector).die(); after jquery mobile loads, and my links still won't respond to my subsequent bindings.
Am I doing something wrong, or is this a bug in jquery mobile? My custom ajax-bound links work fine without jquery mobile installed.
I also tried this with ajaxLinksEnabled = true, and it almost works, accept that the duplicate link created by jquery mobile causes data corruption on the server. Any suggestions would be welcome!
Thanks,
Eric