Hallo i am new in Jquery and allso in JSP
i have build a function in jquery
- $(document).ready(function() {
- var work;
- $('#subject').keyup(function(e) {
- work = $('#subject').val();
- if(e.which == 13)
- work +=" <br/> ";
- });
- });
My question is ,
How can i use the variable "work" in JSP
for exemple if i want to setAttribute that the content of the attribute will takken from the variable "work"
is it possible?
and ides?