我正在尝试编写一个简单的VIN (ISO 3779)解码器:制造商和型号年。不过,我在解码模型年时遇到了一些问题。rating of 10,000 lb (4,500 kg) or less, if position 7 is numeric, the model year in position 10 of the VINIf position 7 is alphabetic, the model year in position 10 of VIN refers to a year in the range 2010–我的车的V
因此,我有一个jQuery函数来验证VIN是否有效。我想要做的是试图找出CSS,它将圈出文本框,并给一个绿色的复选标记,如果它是正确的,如果它是不正确的红色边框与红色X。$(function() { if (validateVin($("#vin").val()))$("#result").html("That's a VIN&quo
我正在构建一些自定义验证来验证一个小型LightSitch应用程序中的车辆识别号(VIN)。自定义验证在很大程度上非常简单,但我使用的代码类似于下面从Rusty在的帖子中复制的代码。public class VIN //Make sure no instance of this class is created... only method is staticprivate VIN() { }
public static bool IsValidVin(string p_st