Select/Option/value on change using ASP and no JavaScript?

时间:2016-08-13 13:32:04

标签: javascript html ms-access asp-classic html-select

  • I have a webpage that has a form in the middle of it.
  • There are a bunch of fields that are filled in, dynamically, with the contents from an Access database.
  • In the middle of the form is a select/option/drop-down menu, the contents of which are from the database, as well.
  • When the user, perusing the partial list of database items sees one that they are interested in they select it.
  • This causes the OnChange event To fire.
    • This calls a function up in the header to execute.
    • And that function is in JavaScript.
  • They were in the problem lies: it creates a variable that looks like this "select * from database where IDX=value" where value comes from the above mentioned select/Option box.
  • Without using AJAX (that I do not know) How can I execute that against the Access database?

Once executed I want the resulting record to be returned in a RecordSet Where will be further dissected in ASP with portions of that record than being displayed.

How can I do this? hopefully entirely in ASP? (Alternately a simple instruction of using Ajax with a plug-in of my database name and query would be great!)

I await your responses. Thank you.

0 个答案:

没有答案