Home > front end >  How to make the value of the input point once, add a div of attribute values, such as the first time
How to make the value of the input point once, add a div of attribute values, such as the first time

Time:03-13



<meta charset="utf-8" & gt;
Title

<body>

<script SRC="https://bbs.csdn.net/topics/static/js/tool/jquery/jquery.js" & gt; </script>
<script>
$(" # one ") on (' click ', function () {
Let pox=this. The attributes [1]. The value;
$(" input "). Val (pox
 [code=javascript]  
[/code])
})

</script>
{# how to make the value of the input point once, add a div of attribute values, such as the first time is 4, the second is 0404, the third time point is 040404 #}

  • Related