Events fired on dynamic changes

Events fired on dynamic changes

Hi there,

I have a problem while working with jQuery mobile. I dynamically add form elements to my page before JQM is loaded. This works great and all form elements are transferred correctly to JQM elements.
After loading JQM I try to bind events to my form elements (I use toggle switches, sliders and select menus). I do it that way for a slider:
  1. object = $('#' + objectId);
  2. object.live("slidercreate", function(){
  3.       object.live("change", function(event, ui){
  4.             ...
  5.       });
  6. });
The event is bound correctly to the element and the function is correctly called. But when I update the value of the slider within JS the event is also fired which seems incorrect to me. I tried many other ways to bind the event (e.g. bind-method, on-method), they are all not working for user input but they are also not fired on dynamic changes. I even tried to unbind the event before changing the value and rebind it afterwards --> Did not work!

Please help, that situation sucks.
sonstwer