Please tell me,

how to remove value from input box at the click event in jsp.
suppose input box contain A,B,C values and whenever user click button then B should have to removed.

Thank's in advance.

Use javascript. When the button is clicked make that value empty. Assign an id attribute to the text field and use it to take the field as an object.

<input type="text" value="A" id="id_A" name="someName" />

javscript:

document.getElementById("id_A").value="";

Check these tutorials:
http://www.w3schools.com/default.asp

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.