I’m creating agent console (for callcenter). Agents call anywhere and can talk via web browser (Voip)
But I want to open modal and show caller info (all caller number stored in database) … I want to query caller number …
My problem ;
I cant bind to caller number into hidden field ? How can I bind it ?
peername is caller number
I tried ;
document.getElementById(‘arayanno_inp’).setAttribute(‘value’,peername);
document.getElementById(‘arayanno_inp’).value = peername ;
Result ;
Only seeing a small code section and not 100% sure what you are asking but do you need to put the input inside a form?
Have you considered making it a button and the number the button label then using the actions attached to the button?