4892

vbscript dropdown in function without using HTML (classic ASP)

Question:

I am working on a classic asp page with a pre-existing vbscript function that forms a document.

Is there a way to make a dropdown within vbscript itself that doesn't depend on HTML?

I have an xml object with what is needed to load the dropdown but I need to load the actual dropdown.

Luckily, it just needs to print on the form, there is no save to a database.

There isn't much code to post except that it would go in a function such as:

Function getDropdownA(ByVal strInput) ' put dropdown here, loading into it the strInput End

Answer1:

Well , relative to your question.

<blockquote>

Is there a way to make a dropdown within vbscript itself that doesn't depend on HTML?

</blockquote>

A short answer is <strong>no</strong>.

Ok, Why not? because classic-asp like almost every other preprocessor languages for web applications, doesn't have the faculty to interact directly with your browser. instead the language provides you a set of methods to write and recieve data from the user-agent (not necesarry a browser).

and the browser relies on HTML,XHTML,CSS and derivatives to construct an interface to the user, and due to fact that preprocessor doesn't interact directly with HTML, that its the reason because you can't make a dropdown in pure vbscript bypassing HTML code.

i hope this answer provides a clear view about the scope of classic-asp and the related technologies

Recommend

  • How to remove redundant Spring MVC method by providing POST-only @Valid?
  • Controlling volume of running applications in Mac OS X via Objective-C
  • Why mat-error not get displayed inside mat-form field in angular material 6 withcustom global valida
  • How to resolve dependencies from one gradle project to another gradle project in my Eclipse workspac
  • C#: Import/Export Settings into/from a File
  • Salesforce Different WSDL files and when to use
  • presentShareDialogWithParams posts to FB wall, but callback handler results say error
  • How can I set a binding to a Combox in a UserControl?
  • AJAX Html Editor Extender upload image appearing blank
  • Time complexity of a program which involves multiple variables
  • Checking free space on FTP server
  • How to extract text from Word files using C#?
  • How to check if every primary key value is being referenced as foreign key in another table
  • Sending data from AppleScript to FileMaker records
  • In LanguageTool, how do you create a dictionary and use it for spell checking?
  • jQuery tmpl and DataLink beta
  • align graphs with different xlab
  • Return words with double consecutive letters
  • Comma separated Values
  • How to delete a row from a dynamic generate table using jquery?
  • SQL merge duplicate rows and join values that are different
  • Proper way to use connect-multiparty with express.js?
  • Acquiring multiple attributes from .xml file in c#
  • Free memory of cv::Mat loaded using FileStorage API
  • How to set the response of a form post action to a iframe source?
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Memory offsets in inline assembly
  • Turn off referential integrity in Derby? is it possible?
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]
  • Running Map reduces the dimensions of the matrices
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • Reading document lines to the user (python)
  • Binding checkboxes to object values in AngularJs
  • Python/Django TangoWithDjango Models and Databases
  • java string with new operator and a literal
  • Net Present Value in Excel for Grouped Recurring CF
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize
  • How to load view controller without button in storyboard?