title: Grails Remote Function and Ajax
body: <p>I am trying to list addresses and onChange event I send the address ID and return a list of users.      </p>
  
  <pre><code>&lt;g:select name="AddressID" from="${address}" optionKey="id" optionValue="address"
                onchange="${ remoteFunction(
                             action:'testMe', 
                             params:'\'id=\' + this.value' ,
                             update:'show' )}"&gt;
        &lt;/g:select&gt;
  </code></pre>
  
  <p>I call this div "show".</p>
  
  <pre><code>&lt;div id="show"&gt;
    &lt;g:each in="${users}" status="i" var="C"&gt;
          &lt;h3&gt;${C}&lt;/h3&gt;
    &lt;/g:each&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>However, when I click the item on the list box I get the following error:
  <code>description The requested resource (/MyTest/WEB-INF/grails-app/views/test/testMe.jsp) is not available.</code></p>
  
  <p>My understanding of an update attribute inside a remoteFunction is that it is the name of the div which gets refreshed after the remoteFunction call is compeleted.</p>
  
  <p>Thanks.</p>