Menu
Hi!
function BytBild2(number) {
[COLOR=”Red”]test
document.getElementById(“storbild”).src=”bilder/bilder_stora/” + [COLOR=”Red”]test
This dosen’t work! But if I write bild2, then it works! How come it dosen’t work and what do I do wrong? What I’m trying to do is to concatenating different parts to a variable. bild2 ha a value from the beginning. And I just wanted to save a lot of code to put bild + number and use just one line of code instead of several?!
Appreciate som help! Thanks!