i just create text box and enter a char and i need to show a name like the entered char
how to retrive data from database using javascript]
i am using wab app and in my form i need to retrive name from database
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Muhammad ImranPosted Jan 29, 2013, 9:13 AM
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=2804&lngWId=14
'**************************************
' Name: ADO With JavaScript
' Description:I have not found any sample that shows database access with javaScript. Well, I created one.
It is very simple since Javascript has the activeXObject that allow us to call an external object in the same way that vbscript uses CreateObject.
' By: Marcio Coelho
'
' Assumes:You need SQL Server, a valid login, and know the name of a table and at least one column to test the sample.
'
'This code is copyrighted and has' limited warranties.Please see http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=2804&lngWId=14'for details.'**************************************