Skip to content

چگونه تغییر مقدار اینپوت را رصد کنیم؟ #41

Answered by majidh1
hushmand12 asked this question in Question
Discussion options

You must be logged in to vote

سلام، به وسیله ایونت Change میتونید از تغییر اینپوت با خبر بشید

<input type="text" data-jdp id="change_sample">
document.getElementById('change_sample').addEventListener('change', (event) => {
  console.log(event)
});

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by majidh1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants