Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 error cod With database mdb MEMBERS M_NAME
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AHMEDHHH1
Junior Member

Egypt
105 Posts

Posted - 06 November 2014 :  15:52:45  Show Profile  Reply with Quote
Enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.

Good code

<!doctype html>

<html lang="en">

<head>

<meta charset="utf-8">

<title>jQuery UI Autocomplete - Default functionality</title>

<link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">

<script src="//code.jquery.com/jquery-1.10.2.js"></script>

<script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script>

<link rel="stylesheet" href="/resources/demos/style.css">

<script>

$(function() {

var availableTags = [

"ActionScript",

"AppleScript",

"Asp",

"BASIC",

"C",

"C++",

"Clojure",

"COBOL",

"ColdFusion",

"Erlang",

"Fortran",

"Groovy",

"Haskell",

"Java",

"JavaScript",

"Lisp",

"Perl",

"PHP",

"Python",

"Ruby",

"Scala",

"Scheme"

];

$( "#tags" ).autocomplete({

source: availableTags

});

});

</script>

</head>

<body>



<div class="ui-widget">

<label for="tags">Tags: </label>

<input id="tags">

</div>





</body>

</html>



error cod With database mdb Mmprus M_NAME

You can search within a field in the input or select Mmprus M_NAME


strSQL = "SELECT * FROM MEMBERS"
Set adaa = Server.CreateObject ("ADODB.Recordset")
adaa.Open strSQL, Conn, 1,3


While Not adaa.EOF
<!doctype html>

<html lang="en">

<head>

<meta charset="utf-8">

<title>jQuery UI Autocomplete - Default functionality</title>

<link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">

<script src="//code.jquery.com/jquery-1.10.2.js"></script>

<script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script>

<link rel="stylesheet" href="/resources/demos/style.css">

<script>

var NAME = "<% = adaa.Fields (" M_NAME "). Value%>"



$(function() {

var availableTags = [

''+NAME+'',
"Asp"
];

$( "#tags" ).autocomplete({

source: availableTags

});

});
</script>

</head>

<body>



<div class="ui-widget">

<label for="tags">Tags: </label>

<input id="tags">

</div>





</body>

</html>


<%

adaa.MoveNext

Wend
%>

Edited by - AHMEDHHH1 on 06 November 2014 15:53:42

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 07 November 2014 :  07:16:56  Show Profile  Visit HuwR's Homepage
And the point of this post is ?

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

AHMEDHHH1
Junior Member

Egypt
105 Posts

Posted - 07 November 2014 :  15:27:16  Show Profile
Form post select or input type=text serch


How the introduction of this sentence in a dry JavaScript in order to repeat the name of an existing database in the field

do until rs.Eof

If rs.EOF or rs.BOF then
Else

end if
rs.movenext
loop
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07