Searching the value attribute on input tags
Searching the value attribute on input tags
fez
Posts: 1Questions: 1Answers: 0
Hey all,
I recently discovered DataTables, and have been playing around with its incredible features.
I'm running into a bit of trouble with the search feature. I'm using DataTables in a JSP webapp, where I use expression language (EL) to pull and display information stored in the session.
Here is a sample of my code:
<table id="list" class="table table-hover results">
<thead>
<tr>
<th>Name</th>
</tr>
</thead>
<tbody>
<c:forEach var="elt" items="${listCandidates}">
<tr>
<td>
<form action="ViewFullCandidateProfileServlet">
<a href="#">
<input type="hidden" name="candidateID" value="${elt.candidateID }">
<input type="submit" name="View Profile" value="${elt.firstName} ${elt.lastName}">
</a>
</form>
</td>
</tr>
</c:forEach>
</tbody>
</table>
The search fails to pick up data within the value attribute in the input tags. How can I direct it to look there?
Appreciate any pointers,
Cheers!
This discussion has been closed.