Are you saying that you want something like this:
<input type="text" ... class="<%=classVariable%>" style="<%=abc%>">
<td class="<%=someOtherCcsClass%>">
some data
</td>
That can also be done using javascript. You can change those attributes using javascript at the client.
If I still don't understand your problem then post some code but if the above is what you want then let me know.
Also there aren't any JSP variables. Those are java code that are executed at the server and then the result which is a static page is loaded at your browser (client). Once the page is loaded then you are at the client and you use javascript with what you've got.
Waiting for reply