Code:
<html lang="en">
<head>
<script src="jquery-1.10.2.js"></script>
<script src="jquery-ui.js"></script>
<link href="jquery-ui.css" rel="stylesheet">
<script>
$("document").ready(function(){
arr=["saloni","syam","samy","samir"]
$("#t1").autocomplete({source:arr})
})
</script>
<style>
</style>
<div id="div1"></div>
</head>
<body>
<input id="t1">
</body>
</html>
Output:
<html lang="en">
<head>
<script src="jquery-1.10.2.js"></script>
<script src="jquery-ui.js"></script>
<link href="jquery-ui.css" rel="stylesheet">
<script>
$("document").ready(function(){
arr=["saloni","syam","samy","samir"]
$("#t1").autocomplete({source:arr})
})
</script>
<style>
</style>
<div id="div1"></div>
</head>
<body>
<input id="t1">
</body>
</html>
Output:
0 comments:
Post a Comment