$(vehicles).each(function() { if (this["@id"] === vehicleId[0]) { vehicle = this; } });
我试着休息&安培;返回;语句,但它看起来执行并不停止在那一点.任何想法将不胜感激.
if (this["@id"] === vehicleId[0]) { vehicle = this; return false; }