Hello dear Mr babynus, How are you.
I appreciate if you help me with the following question.
I want to add a button undert the regular projeqtor datetextbx in objectdetail. then by clicking that button a window opens and some inputs are taken. the results of inputs will have effect in the datetextbox.Then, i need to have the id of datetextbox to assign a value to it. In order to do this, i simply added a button under the </div> of datetextbox in view/objectdetail.php as follows:
echo '<button id="thebutton" onclick=processingfunction ( " ' . $name . ' ");>UN</button>';
I think the name which is made, is actually the Id which i must have to get access to it by document.getElementById in javascript. I do not know what the problem is, but it does not work. do you have any idea?
let me appreciate your time and help
thanks in advance
I appreciate if you help me with the following question.
I want to add a button undert the regular projeqtor datetextbx in objectdetail. then by clicking that button a window opens and some inputs are taken. the results of inputs will have effect in the datetextbox.Then, i need to have the id of datetextbox to assign a value to it. In order to do this, i simply added a button under the </div> of datetextbox in view/objectdetail.php as follows:
echo '<button id="thebutton" onclick=processingfunction ( " ' . $name . ' ");>UN</button>';
I think the name which is made, is actually the Id which i must have to get access to it by document.getElementById in javascript. I do not know what the problem is, but it does not work. do you have any idea?
let me appreciate your time and help
thanks in advance