1 /**************************************************************************2 * jquery Auto-Complete click HTML element3 * Disclaimer:4 * Originally wanted to let embedded products complete automatic detection, but this method in Qt4.8 WebView control5 * not be able to execute correctly, currently do not know why. 6 *7 * 2015-8-31 Yin Shenzhen Nanshan Ping Shan village Zengjianfeng8 *************************************************************************/9 Ten One A -<script type="Text/javascript"Src="Jquery-latest.js"></script> -<script type="Text/javascript"> the $ (document). Ready (function () { - //$ ("P:contains (' title ')"). Prev () [0].click (); - //$ ("P:contains (' title ')"). Prev (). click (); -$("a:eq (0)")[0].click (); + }); -</script> + A at<body> -<a href ='http://www.baidu.com'>www.baidu.com</a>; -<p>app_title</p> - -</body> - injquery Auto-Complete Click HTML element