title: How to get a extension of a file using jquery or javascript?
body: <p>i want to check the type of uploaded file. If name like <code>example.txt</code>, i want to get the <code>.txt</code> part only. How can i achieve it using Jquery or javascript.</p>
  
  <p>Any Suggestions or links would be appreciative!!!</p>