L
Links234
Gast
Hallo:
ich hab eine funktion:
function bPrompt(Area){
meinWert = prompt("Geben Sie Ihren Text ein:","");
document.threadpost.Area.value += "" + meinWert + "";
}
dabei soll "Area" ein variables textfeld sein...also je nach wert kommt das in ein anderes textfeld
nur scheint das bei "document.threadpost.Area.value"
nicht zu funktionieren...er nimmt "Area" scheinbar nicht als variable sondern als textfeldnamen...wie mach ich es also das ich da eine variable einbaue?
sowas in der art?!
document.threadpost. var Area .value
aber das klappt nich
ich hab eine funktion:
function bPrompt(Area){
meinWert = prompt("Geben Sie Ihren Text ein:","");
document.threadpost.Area.value += "" + meinWert + "";
}
dabei soll "Area" ein variables textfeld sein...also je nach wert kommt das in ein anderes textfeld
nur scheint das bei "document.threadpost.Area.value"
nicht zu funktionieren...er nimmt "Area" scheinbar nicht als variable sondern als textfeldnamen...wie mach ich es also das ich da eine variable einbaue?
sowas in der art?!
document.threadpost. var Area .value
aber das klappt nich