PL- SQL and JavaScript Arrays
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
PL- SQL and JavaScript Arrays
Today I was working on part of a web application, and I encountered the need to populate a textbox with a value from the database.http://joelennon.com/?q=plsql-jsarrays
Total Hits: 4788
Total Votes: 38 votes
Category: Oracle/Oracle Misc
Submitted on: 2008-04-15 01:52:43
Submitted By: Shekhar
Description:
Today I was working on part of a web application, and I encountered the need to populate a textbox with a value from the database, based on what value the user had selected from a drop-down list. I needed to incorporate this functionality without changing the value of list items. Because of the nature of web pages, this is trickier than you might think. The solution I came up with was to load the required data into an array, indexed by the drop-down list values. This allowed me to set the value of the textbox to the relevant value in the array, without a page refresh in sight. More detail...Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 15.79% |
6 |
![]() ![]() |
![]() ![]() 15.79% |
6 |
![]() ![]() ![]() |
![]() ![]() 21.05% |
8 |
![]() ![]() ![]() ![]() |
![]() ![]() 15.79% |
6 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 15.79% |
6 |





15.79%

15.79%

21.05%

15.79%

15.79%