问题描述
我与形成文档的pre-现有的VBScript函数一个传统的ASP页面上工作。
有没有一种方法,使自己的VBScript中的一个下拉式选单,不依赖于HTML?
我有需要加载什么下拉列表中的XML对象,但我需要加载的实际下拉菜单。
幸运的是,它只是需要打印的表格上,没有保存到数据库中。
有没有太大的code后,除了它会在一个函数中去,如:
功能getDropdownA(BYVAL strInput)
把这里下拉列表,加载到它的strInput
结束
那么,相对于你的问题。
A short answer is no.
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
这篇关于VBScript的下拉菜单中的功能,而无需使用HTML(传统的ASP)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!