Hi all, I am trying to use javascript to make a form load a youtube url into the embed code. I can't find any articles discussing anything but e-mail handling with forms and it's driving me insane. Any help in the right direction would be great. This is what I have so far:
Code:
<object style="height: 390px; width: 640px"><param name="movie" value=""><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="video1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="390"></embed></object>
<table><form action="formtest.html" method="get" name="form">
<tr><td>URL: </td>
<td><input type="text" id="video1" name="video1" size="40" value=""></td>
<td rowspan="3"><div style="position: relative; top: -9px; margin-left: 20px;">
<a href="javascript:document.form.submit()">
<img src="images/doubleup2.png" style="padding:4px; padding-right:0px;border:0px"></a></div></td></tr>