java - get value using jquery -


i want value of h:outputtext label using jquery, for

<h:outputtext id="cal_att_to_date"     binding="#{attendance_calculation.cal_att_to_date}">      <f:convertdatetime type="date" pattern="dd-mmm-yyyy" timezone="gmt+5:30"/>    </h:outputtext> 

var value = $('#cal_att_to_date').text();


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -