you can see it in action here
you can download the code here
you can download the code here
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="scripts/jquery.js"><script>
<script type="text/javascript">
$(function() {
$("#display").click(function() {
var o = $("#input");
var s = o[0].value;
//alert(s);
var o2 = $("#output")
o2.val(s);
});
});
<script>
<head>
<body>
<input id="input" type="text" value="" />
<button id="display">display<button>
<input id="output" type="text" value="" />
<body>
<html>
http://marcgrabanski.com/article/jquery-select-list-values
ReplyDelete