473,480 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Hi, Can anyone help me to open a Oracle table on a javascript event

3 New Member
How can I open an Oracle table in a javascript event like "onblur" of a text box.
Oct 4 '07 #1
7 1483
dmjpro
2,476 Top Contributor
How can I open an Oracle table in a javascript event like "onblur" of a text box.
Go through Ajax.

Kind regards,
Dmjpro.
Oct 4 '07 #2
gits
5,390 Recognized Expert Moderator Expert
hi ...

dmjpro is right. you cannot create a database-connection with javascript directly, but you may do a background-request (XMLHttpRequest => AJAX) to call a service an the server to do so ... the request object delivers the response in the background too and you may handle it through javascript and you may update a part of your page with it ... so don't need a page-refresh ...

kind regards
Oct 4 '07 #3
getchandan
3 New Member
How to open a Oracle table on a javascript event like "onBlur" of a text box... The content of the text box is matched with a table field with the help of WHERE clause of SELECT statement and the abstracted fields are shown on some other text boxes...I need coding help....Thanks.
Oct 9 '07 #4
dmjpro
2,476 Top Contributor
How to open a Oracle table on a javascript event like "onBlur" of a text box... The content of the text box is matched with a table field with the help of WHERE clause of SELECT statement and the abstracted fields are shown on some other text boxes...I need coding help....Thanks.
You know Ajax.
Have a look at this.
Enjoy Ajax.
Good Luck !

Debasis Jana
Oct 9 '07 #5
getchandan
3 New Member
You know Ajax.
Have a look at this.
Enjoy Ajax.
Good Luck !

Debasis Jana
Thanks....but problem is that...suppose I have a textbox in my web page and I enter something in the text box, now on the "onblur" event of the text box I need to access a table from oracle database.....using "Select....from <table name> where <field name>="tetxbox_value"......and I need to show the selected value from the table in another text box of the webpage. eg:

Expand|Select|Wrap|Line Numbers
  1. <input type="text" name="txtgrp" id="txtgrp_id"  onBlur="openDB()">
Expand|Select|Wrap|Line Numbers
  1. openDB()
  2. {
  3.  //coding for opening oracle database and accessing a table using SELECT  statement...How is it possible using Javascript and Ajax.
  4. }
Oct 10 '07 #6
gits
5,390 Recognized Expert Moderator Expert
threads merged ... please don't double post your questions ...

kind regards
Oct 10 '07 #7
dmjpro
2,476 Top Contributor
Thanks....but problem is that...suppose I have a textbox in my web page and I enter something in the text box, now on the "onblur" event of the text box I need to access a table from oracle database.....using "Select....from <table name> where <field name>="tetxbox_value"......and I need to show the selected value from the table in another text box of the webpage. eg:

<input type="text" name="txtgrp" id="txtgrp_id" onBlur="openDB()">

openDB()
{
//coding for opening oracle database and accessing a table using SELECT statement...How is it possible using Javascript and Ajax.
}
Yeah it is possible.
Go through that Article .....

Debasis Jana
Oct 10 '07 #8

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

Similar topics

1
1697
by: Anna K. | last post by:
Hi Experts, I'm new to JavaScript and web-based apps development, so I'll tell you right off that I don't really know my way around it as of yet. I'm trying to create a code library set with...
1
2692
by: girlkordic | last post by:
I have a linked table from an Oracle database (that contains HR information for my company)in an Access database. The Oracle DB is updated on a daily basis. I would like one of my tables in...
3
29096
by: hb | last post by:
Hi, I have a asp:button btnGo. When clicking this button, the code will parse a asp:table to find a specific ID under certain conditions. Once the ID is found, the code need to keep the current...
1
5398
by: Jorge Ponte | last post by:
hi I have a Web User Control (ascx) - lets call it "My_WUC" - in a Web form. In that WUC I want have a textbox and a button. I want to click on the button and open a popup (I use javascript for...
40
2909
by: Jeff | last post by:
I have a system on a network and want to determine if anyone is currently connected to the back-end files. An interesting twist is that I have noticed that some users can be connected (have the...
9
2748
by: Neo Geshel | last post by:
I have strip-mined, strip-searched, and completely exhausted the Internet (up to the 30th page on Google, with 100 results per page!!), all without finding an answer to my question AS TO WHY IT...
7
4791
by: Kamal | last post by:
Hello all, I have a very simple html table with collapsible rows and sorting capabilities. The collapsible row is hidden with css rule (display:none). When one clicks in the left of the...
2
14195
by: Vinod Sadanandan | last post by:
All, Below listed are the new features in Oracle 11g ,please join me in this discussion to generate a testcase and analyze each of the listed features . Precompilers:...
1
6347
by: =?Utf-8?B?U3VzYW4=?= | last post by:
Our application is written in C# with Visual Studio 2005 using Oracle Data Access Component (ODAC) 10.2.0.2.21 and Oracle Client 10.2.0.1.0 for connection to the Oracle database. Specifically, the...
0
7041
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
7084
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
6929
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...
0
5337
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4779
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2984
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
181
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.