title: Check if the string ends with a question mark using jquery
body: <p>How can check the entered input is a valid question format using jquery ?</p>
  
  <p>for eg: i have a string "How are you ?" . and i need to identify whether it is a </p>
  
  <p>question or not .Do that all i need is to check whether the string ends with '?' ?.  Thanks . </p>