阅读背景:

如何将id传递给getElementById()方法?

来源:互联网 

have javascript code where i have the function to validate the required field(for each field one one function).My problem is i want only method where i can just pass the ID to validate the required field and corresponding field has to style based on error .I mean if it doesn't have any value do make the field as red colour and if user enter then colour has to change .have javascript code where i have the function




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: