I can do this using PHP but not sure on syntax for javascript.. I have a variable: yo = test.jpg. I need to get all the characters after the period. In other words, I just need to get the file extension (excluding the period). Any thoughs would be great!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.