javascript - how can i show only iframe when click on the URL -
following code, want make search list show results of tube , when click on url, video start on same page along searching results, want iframe.
<head> <title>youtube playlist search</title> <link rel="stylesheet" type="text/css" href="new 2.css" media="screen"> </head> <body> <script src="http://www.yvoschaap.com/ytpage/ytembed.js"></script> <form id="tfnewsearch" method="get" onsubmit="ytembed.init({'block':'youtubedivsearch','type':'search','q':document.getelementbyid('ytsearchfield').value,'results': 20,'meta','_self':false}); return false;"> <span>yout </span> <input type="text" id="ytsearchfield" placeholder="search video here" name="q" size="21" maxlength="120"> <input type="submit" value=" search"> </form> <div id="youtubedivsearch"></div>
Comments
Post a Comment