访问搜索网页?

编程入门 行业动态 更新时间:2024-10-10 12:24:35
本文介绍了访问搜索网页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我的文本框可以用作在网上查找内容的超链接吗?..感谢您的帮助................ Bob

Can my text box be used as a hyperlink to seach for something on the net?..Thanks for any Help................Bob

网页是: www.nzracing.co。 nz / Meetings / HorseSearch.aspx

从下面的网页搜索马匹的页面脚本

Page Script for horse search from web page below

cmdHorseSearch_onclick() " /Meetings/HorseSearch.aspx#search" ; 功能 cmdReportSearch_onclick()d ocument.frmHead.action = " /Meetings/HorseSearch.aspx#search" ;

cmdHorseSearch_onclick()"/Meetings/HorseSearch.aspx#search";function cmdReportSearch_onclick()document.frmHead.action = "/Meetings/HorseSearch.aspx#search";

document.frmHead.action =

document.frmHead.action =

功能

推荐答案

我的文本框可以用作在网上查找内容的超链接吗?..感谢您的帮助................ Bob

Can my text box be used as a hyperlink to seach for something on the net?..Thanks for any Help................Bob

该网页是: www.nzracing.co.nz /Meetings/HorseSearch.aspx

从下面的网页搜索马匹的页面脚本

cmdHorseSearch_onclick() " /Meetings/HorseSearch.aspx#search" ; function cmdReportSearch_onclick()document.frmHead.action = " /Meetings/HorseSearch.aspx#search" ;

cmdHorseSearch_onclick()"/Meetings/HorseSearch.aspx#search";function cmdReportSearch_onclick()document.frmHead.action = "/Meetings/HorseSearch.aspx#search";

document.frmHead.action =

document.frmHead.action =

功能

看起来搜索是通过特定页面的代码隐藏执行的将代码隐藏视为表单或Report in Report中的VBA模块的等价物。出于安全原因,ASP.NET是专门设计的,因此您只能通过ASP与交互此类页面。 NET生成的页面。如果页面设计为接受查询字符串(例如:http://lmgtfy/?q = irs + 2012 + tax& id = 654136),您可以创建自动创建必要的代码打开页面时将返回搜索结果的URL。

It looks like the search is performed via code-behind for the specific page. Think of the code-behind as the equivalent of a VBA module behind a Form or Report in Access. For security reasons, ASP.NET is specifically designed so that you can only interact with pages like this from an ASP.NET generated page. If the page had been designed to accept a query string (ex:lmgtfy/?q=irs+2012+taxes&id=654136 ) you could create code that automatically creates the necessary URL that would return the search results when the page is opened.

您可以创建打开页面的代码,将值填入元素和提交表单,但我不知道如何通过Access VBA自动化它。它通过Java很简单脚本/ VBScript,但两者都需要脚本到实际的ASP.NET页面。

You might be able to create code that opens the page, fills in the values into the elements and the submits the form, however I do not know how you would automate that via Access VBA. Its a simple thing via JavaScript/VBScript, but both would require that you script to the actual ASP.NET page.

更多推荐

访问搜索网页?

本文发布于:2023-11-28 19:28:48,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1643669.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网页

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!