title: Add class for css in ejs by node
body: <p>Please mind the environment of this Application. I'm using</p>
  
  <ol>
  <li>Windows </li>
  <li>NPM ,Express </li>
  <li>MySQL</li>
  </ol>
  
  <p>This is the code in ejs template. example.ejs</p>
  
  <pre><code>&lt;% if (message) { %&gt;
                  &lt;p class="alert " id="errorMessage"&gt;
                      &lt;%= message %&gt;
                  &lt;/p&gt;
              &lt;% } %&gt;
  </code></pre>
  
  <p>I want to add class to p.</p>
  
  <p>This is what I am doing but didn't work.</p>
  
  <pre><code>messages = "Password Successfully Changed";
  jQuery('#errorMessage').addClass('successMessage');
  res.render('profile',{page_title:"My Profile",data:rows,message: messages});
  </code></pre>