附加开关
$('#ehdr').append('<span id="mySelect2"><select name="switch" id="goingswitch" data-role="slider" data-mini="true"><option value="notgoing"></option><option value="going">Going</option></select></span>');
JS
$('#goingswitch').change( function() {
alert("works");
});
当我切换时,这不会提醒