单击具有ID-Visual Basic的链接.请帮帮我!.谢谢 [英] Click in a link with ID - Visual Basic. Please help me!.Thanks

查看:81
本文介绍了单击具有ID-Visual Basic的链接.请帮帮我!.谢谢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要模拟此链接中的点击:

I need to simulate click in this link :

<a rel="nofollow" href="http://www.cristovideos.com/private.php?do=music&u=133500">add to alabanza category</a>

But the number "133500" is a ID and chnage all the time, so I need make click on:

<a rel="nofollow" href="http://www.cristovideos.com/category.php?do=music&u=ANY ID NUMBER">add to alabanza category</a>



你能帮我吗?

感谢您的帮助.



Can you help me?

Thanks for your help.

推荐答案

不要模拟任何点击-这会滥用良好的UI做法.开发一种在单击时调用的方法(子"或函数",然后从单击处理程序及其他地方调用此函数.您将获得所需的效果,但要保持文明和可维护的方式.

—SA
Don''t simulate any clicks — this would be the abuse of good UI practices. Develop a method ("sub" or function" to be called on click and call this function from the click handler and elsewhere. You will have the effect you need, but in civilized and maintainable manner.

—SA


这篇关于单击具有ID-Visual Basic的链接.请帮帮我!.谢谢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆