0
Service.getData($scope.data
function(data) // success
{
$scope.data = {
schedule:data.value,
};
}
刷新上的編輯按鈕點擊此功能將調用和文本框的值將更新(時間表:data.value)
<input type="text" data-ng-model="data.schedule" class="span12" ng-maxlength="5" maxlength="5" required ng-pattern="/\d+/" />
它是工作在其他除了IE-10
如果我們在編輯文本框中的值並保存,然後再次單擊編輯會在IE中顯示舊值10
請建議瀏覽器
我試着用下面的代碼,但不工作
$scope.data.schedule.push($scope.data.schedule);
$('#someid').val($scope.data.schedule);
$scope.data.schedule = '' ;