How to extract extension from filename string in Javascript?

how would i get the File extension of the file in a variable? like if I have a file as 1.txt I need the txt part of it.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)