function btnresume_open_yn(){
//open_yn
alert("1");
var form = document.resumeUploadForm;
var row = document.resumeUploadForm.open_yn.value;
var row2 = row;
alert(row2);
<c:set value="${data.resume_open_yn}" var = "open_yn"/>
$('#searchDay1').val(open_yn);
<c:if test="${data.resume_open_yn eq 'Y'}">
<c:out value="${data.resume_open_yn}"/>
</c:if>
<c:if test="${data.resume_open_yn eq 'N'}">
<c:out value="${data.resume_open_yn}"/>
</c:if>
//form.submit();
alert("/////////");
<c:set var="gender" value="${data.resume_open_yn}" />
<c:choose>
<c:when test="${gender eq 'Y'}">
alert(gender);
alert("1");
</c:when>
<c:when test="${gender eq 'N'}">
alert(gender);
alert("2");
</c:when>
<c:otherwise>
alert(gender);
alert("3");
</c:otherwise>
</c:choose>
// <c:set value="${data.resume_open_yn}" var = "open_yn"/>
}
<c:if test="${data.resume_open_yn eq 'Y'}">
alert("a");
<c:out value="${data.resume_open_yn}">
aa
</c:out>
</c:if>
<c:if test="${data.resume_open_yn eq 'N'}">
alert("b");
<c:out value="${data.resume_open_yn}">
bb
</c:out>
</c:if>
<c:choose>
<c:when test="${!empty result }">
<c:forEach items="${result }" var="data">
<tr>
<td>.................</td>
<td>................. </td>
<td>.................</td>
<td>.................</td>
<td>
<c:set var="open_yn1" value="${data.resume_open_yn}"/>
<c:if test="${data.resume_open_yn eq 'Y' || data.resume_open_yn eq ''}">공개
<button type="button" onclick="btnresume_open_yn();" >∨</button>
<input type="hidden" id="open_yn" value="<c:out value="{open_yn1}"/>"/>
${open_yn1}
</c:if>
<c:if test="${data.resume_open_yn eq 'N'}">비공개
<button type="button" onclick="btnresume_open_yn();" >∨∨</button>
<input type="hidden" id="open_yn" value="<c:out value="${open_yn1}"/>">
${open_yn1}
</c:if>
<!--<c:if test="${data.resume_open_yn eq ''}">공개
<button type="button" onclick="btnresume_open_yn();" >∨</button></c:if>-->
</td>
</tr>
</c:forEach>
</c:when>
<c:otherwise>
<tr>
<td colspan="5"><fmt:message key="MSG.NO.DATA"/></td>
</tr>
</c:otherwise>
</c:choose>