I try to display a list of elements (users in this case). Il works perfectly in
Firefox and Chrome, but I have an error in IE (the list doesn't appears).
Error given by IE :
----------------------------------
Message : '(' expected
Line : 357
Character : 3
Code : 0
URI : http://localhost/.../ejs.js
----------------------------------
Here is my code... in the js file :
render("list.html", {users: users});
And then, in HTML page :
<% for each(user in users) { %>
<tr id="user-<%= user.id %>">
<td><%= user.name %></td>
<td><%= user.login %></td>
<td><%= user.password %></td>
<td><a href="#/user/<%= user.id %>">View details</a></td>
</tr>
<% } %>
Line 357 in EJS 1.0 corresponds to :
try{
eval(to_be_evaled);
}catch(e){
Do you have any idea of what could cause this? Does it result from my code or
from EJS ?
Thank you in advance for your reply (and sorry for my broken English !).
Original issue reported on code.google.com by guillaume.zurbach@gmail.com on 3 Aug 2010 at 9:31
Original issue reported on code.google.com by
guillaume.zurbach@gmail.com
on 3 Aug 2010 at 9:31