<input type="file" id="css-file" />
<input type="text" id="css-url" value="eg. http://domain.com/style.css" />
I need both the fields to accept only .css files. Can I validate without having to use a validation plugin just for these 2 fields?
If anything other than .css is detected, it should give an alert()
Thanks!