better if viewed in img uploaded function create(R,A){
var B=R;
var C=A;
// if i define a number e.g. 50% it works but when i
//pass a value it doesn't
img.style.top = "B%"
有人可以讓我知道是否可以在「setAttribute」中傳遞一個變量來使輸入值出現在href鏈接中? 比如我有: var inputNumber = document.getElementById('inputNumber').value;
var validateBtn = document.getElementsByTagName("a"); //a surrounding n button