perl.javascript...JS and HEX Validation by Grzegorz Mikiewicz- October 20, 2007 Hi to all,I&39;m trying to validate is string is hex:function validate_mac (mac) var wzor = 0xX(0-9a-fA-F+)$; var wynik = mac.match(wzor); if(wynik == null) return false; return true;and use this function in this:function validate_form_komputery ( form ) var msg = &39;&39;; if((form.ip1.value==&39;&39;) (form.ip2.value==&39;&39;) (form.ip3.value==&39;&39;) (form.ip4.value==&39;&39;)) msg = &39; Podany adres IP jest nieprawid³owyn&39;; if((form.mac1.value==&39;&39;) ...http://www.nntp.perl.org/group/perl.javascript/2007/10/msg66.html |