473,395 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

onblur event of a textbox should get a value from database

Hi,
I am new to AJAX and having a small problem.
I have a textbox control which on validating should get a value from database and assign it to one more textbox.

Can anyone please help me on this issue.

Thanks
May 21 '07 #1
3 3484
dmjpro
2,476 2GB
Welcome to TSDN.

how much u tried ????
plz send me the particular source code and tell what's ur problem with that.
then i can solve ur problem.

kind regards.
dmjpro.
May 21 '07 #2
Hi,
Thanks for the reply.
I have a textbox (say Country code), when I enter a value, then I need to execute a SQLQuery string and get a value (say Country Name for the entered Country code).
So can you please tell me how can I achieve this?
Do I need to create a AJAX Enabled website to get this?

Thanks.
May 22 '07 #3
r035198x
13,262 8TB
Hi,
Thanks for the reply.
I have a textbox (say Country code), when I enter a value, then I need to execute a SQLQuery string and get a value (say Country Name for the entered Country code).
So can you please tell me how can I achieve this?
Do I need to create a AJAX Enabled website to get this?

Thanks.
You connect to the database using a server side script not Javascript. You can then use Ajax to connect to that server side script and retrieve the data you want for display.

You better have a look at an Ajax tutorial.
May 22 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Roger Withnell | last post by:
Tearing hair out time! Simple attached page shows the problem. http://www.brilley.co.uk/TestFocusSelect.htm Using a function to test if too many characters have been keyed in to a textarea....
2
by: andyalean | last post by:
Hello javascript coders :( ,I am trying to add an onblur event to my code. This is where I dynamically create a textfield.I want to assign it an onblur event handler like so.How do I add a event...
2
by: Jeffrey | last post by:
Hello I have several textboxes in a datagrid footer. When the user inputs something first textbox, the values of the other textboxes are updated. Basically I want the "onBlur" functionality of...
1
by: neil S via DotNetMonster.com | last post by:
I have a custom control with a textbox and dropdown list. The dropdown list is hidden and acts as a data source for the textbox. When the user enters text in the textbox, an onKeyup event is...
1
by: pankajprakash | last post by:
hi, i have a web application. and i am using a textbox there. I write the onblur and onkeypress event on the textbox. but when i press the key on the textbox that time onblur event is also called,...
2
by: phathutshedzo | last post by:
Hi guys, I'm trying to do some calculations on textchanged event of a textbox, my problem is textchanged event only trigger after a user had edited the text, which is not what I want.Ok I tried to...
8
by: bkarle | last post by:
I have a text box control and i have coded its "onblur" event t a Javascript function. I want this javascript function to make visible a checkbox based on comaprison between the textbox being blurred...
15
by: edwire | last post by:
I'm trying to extract data from 3 textboxes to another line in the same page using the onblur command. My client inputs their 5 digit zipcode and OnBlur fills the city and state from a database...
0
by: =?Utf-8?B?c21heQ==?= | last post by:
I'm having trouble with a datagrid in an UpdatePanel that includes a user control in the footer and edit rows. The user control references a js file that initializes an onblur for the textbox it...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.