Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有浏览器组件的 Windows 窗体应用程序。
我的目标是加载网页并将变量从网页传递到表单。也许通过java脚本。但我无法确定是否可以将变量从 webbrowser 组件传递到表单的其余部分。
加载网页,Webbrowser.Navigate()然后使用该WebBrowser.DocumentText属性获取加载页面的 html。您必须在页面加载后读取此属性,以便在DocumentCompleted处理程序中使用它。
Webbrowser.Navigate()
WebBrowser.DocumentText
DocumentCompleted
我有一个带有集成 CKeditor 的 cms。Ckeditor 替换<?php with <!--?php. 我想在 ckeditor 中编写 php 代码"<div><?php $prod=products($cat_id); ?>....</div>"并将其存储到 MySQL DB.. 并且在查看器的页面上我想输出
<?php with <!--?php
"<div><?php $prod=products($cat_id); ?>....</div>"