Skip to content

Instantly share code, notes, and snippets.

@rkdgusrnrlrl
Created February 5, 2016 01:39
Show Gist options
  • Save rkdgusrnrlrl/54223330a37f98badbe0 to your computer and use it in GitHub Desktop.
Save rkdgusrnrlrl/54223330a37f98badbe0 to your computer and use it in GitHub Desktop.
<input type="button" id="<%=rs.getString("title")%>" value="MV" onclick="javascript:mvf(<%=rs.getString("title")%>);">
<form name="go_page" method="post">
<input name="title" value="">
</form>
<script>
function mvf(id){
var from = document.go_page;
form.title.value = id;
form.submit();
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment