我想在webrowser控件中只显示当前的黄金价格 [英] i want to display only current gold price in webrowser control
本文介绍了我想在webrowser控件中只显示当前的黄金价格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在asp.net windows应用程序中的浏览器控件中仅显示当前的金价(不是网站的某些部分的完整网站)
帮助我
谢谢你
how to display only current gold price (not full site only some part of site) in we-browser control in asp.net windows application
Help me
Thank you
推荐答案
我会尝试提供一些帮助你实现这个目标的建议。
步骤尝试
- 添加Div容器以显示网站的部分/部分到您的webbrowser控件。
- 添加Jquery引用。
- 使用jquery加载特定部分。
尝试以下代码获取完整网站并仅显示金价部分。
I will try to give some suggestions on helping you to achieve this .
Steps to try
- Add Div container to display the part/section of the website on to your webbrowser control.
- Add Jquery reference .
- use jquery to load the specific section.
try the below code which fetches the complete website and takes only gold price section to display.
('#target-div')。load('http:// www .targetwebsite.com / home.php#gold-price');
('#target-div').load('http://www.targetwebsite.com/home.php #gold-price');
希望这会有所帮助......
Hope this helps ...
这篇关于我想在webrowser控件中只显示当前的黄金价格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文