Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Database and SQL


  • From: flavio at economisa.com.br (Flávio Gomes)
  • Subject: [Javascript] Database and SQL
  • Date: Tue Jan 30 07:24:26 2007

  AJAX, "Asynchronous JavaScript and XML", that's the name of the 
technology used for loading "the values into a component without loading 
some other page".

  Or maybe, depending on your case, if is not there a need to change the 
values from the dropdown "onclick" you could already write (on your 
serverside language) the page/dropdown with the values there.



Henrique Renn? escreveu:

> Hello!!!
>
> I have an Access Database and a form I had created to do some queries 
> on the data. One of the things I do is when the user clicks to open a 
> dropdown box it executes some code in VBA to compose a SQL statement 
> and search for all values stored in the field that this dropdown box 
> will contain. Now I need to put this database on the web and I'm using 
> the perl module DBD::ODBC that works very fine in order to access the 
> Access database tables.
>
> I had put a html "form" tag with a "select" tag that I want to work 
> the same way the dropdown box works in the Access form. What I'm in 
> doubt is if there is a way of executing a script (with the form's 
> action method) every time a "select" (dropdown) box is open to load 
> into it all the values from the field in the database. Usually when a 
> script is executed it loads the results into another page (or a new 
> window) but in this case the values should go into a component without 
> loading some other page.
>
> I don't know if doing it using Javascript is possible but I'd like 
> some hints of other kinds of technology I should learn like JSP or 
> Servlets, whatever could make this SQL query works the way I described.
>
> Thanks!!!
>
> -- 
> Henrique
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Javascript mailing list
>Javascript@xxxxxxxxxx
>https://lists.LaTech.edu/mailman/listinfo/javascript
>  
>

-- 
Flavio Gomes
flavio@xxxxxxxxxxxxxxxx