I mam problem. Gdy chce zrobić aby była lista rozwijana. Robię zgodnie z:
Kod
http://www.kurshtml.boo.pl/html/lista_rozwijalna,formularze.html
I tam trzeba podać żeby generowało takie treści jak wpiszesz do okienka, a to jest lista rozwijana i ja nie wiem co podać normalnie podaje sie w headzie:
Cytat
{
var txt = "";
document.getElementById("gen").value = "";
if (document.getElementById("title").value != ""){
txt += "";
txt += document.getElementById("title").value; //Add title
txt += "\n";
document.getElementById("gen").value += txt;
var txt = "";
document.getElementById("gen").value = "";
if (document.getElementById("title").value != ""){
txt += "";
txt += document.getElementById("title").value; //Add title
txt += "\n";
document.getElementById("gen").value += txt;
a w body:
Cytat
<td>Okładka:</td>
<td><input id="boxart" value="" maxlength="200" size="65" type="text"></td>
</tr>
<td><input id="boxart" value="" maxlength="200" size="65" type="text"></td>
</tr>
A Ja podałem z tą listą tak:
w BODY:
Cytat
<type="select" id="form1" value="" <form action="form1">
<select name="form1">
<option>EUR</option>
<option>JPN</option>
<option>US</option>
</select>
<select name="form1">
<option>EUR</option>
<option>JPN</option>
<option>US</option>
</select>
a w headzie nie wiedziałem co i dałem tak:
Cytat
if (document.getElementById("form1").value != ""){
txt = "";
txt += "";
txt += document.getElementById("form1").value; //Add boxart
txt += "\n";
document.getElementById("gen").value += txt;
}
txt = "";
txt += "";
txt += document.getElementById("form1").value; //Add boxart
txt += "\n";
document.getElementById("gen").value += txt;
}
No i ostatecznie nie otrzymuje żadnego NDS, JPN czy EUR a undefined.
Co jest? Co zmienić? Pomocy!! Wygląda to tak ten generator (wersja bez listy)
Kod
www.a5h.yoyo.pl/generator.html