title: have to display some message if no any radio button is selected and submit button is clicked
body: <p>I want to display some message without using alert box if <code>associateID</code> is <code>null</code>.
  If possible can we do it using jquery? but I don't know how to write code using jquery.
  I want to display message in same page but don't want to use alert box.</p>
  
  <pre><code>function retrieveAssociate()
  {
      //alert("in retrive associate");
      var associates = document.getElementsByName("resourceId");
      var associateID = null;
      for (var i = 0; i &lt; associates.length; i++) {       
          if (associates[i].checked) {
              associateID = associates[i].value;
              break;
          }
      }
  
      if(associateID==null) {
          //in this part i need to put my logic to display message
          //here i want to display some message without using alert box if associateID is null
          //alert("Please select associate ID");          
      } else {
  
      }
  }
  </code></pre>