Hi,
Could someone that knows regexp tell me how to check the height attribute, I'm not sure if this is the best way to go about it but here is what I have so far,
var hght = /(")?\d{3}(%?)(")?/g;
whether there are quotes is optional (height="100" height=100%) and the same applies for the percent sign, the problem I'm having is allowing for one digit, two digits, and three digits from one to nine but no higher (highest value = 999 lowest = 1), I hope I explained that right, Thanks
Could someone that knows regexp tell me how to check the height attribute, I'm not sure if this is the best way to go about it but here is what I have so far,
var hght = /(")?\d{3}(%?)(")?/g;
whether there are quotes is optional (height="100" height=100%) and the same applies for the percent sign, the problem I'm having is allowing for one digit, two digits, and three digits from one to nine but no higher (highest value = 999 lowest = 1), I hope I explained that right, Thanks