Plz tell me,
how to remove particular value from input text in jsp by using javascript.

<script>
function findSeat()
        {
           
                          alert("hi")
                       
                          document.getElementById("sam").value.removeChild(SEW1);
                          alert("remove")
        }
</script>

<input type="text" name="txtSam" value="SEW1" id="sam"/>
<input type="button" value="Click Me" onclick="findSeat()"/>

By Himmat

Not a JSP question, relevant to JavaScript. Moving post

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.