JavaScript
--
Questions
--
Followers
Top Experts
On confirmation show textarea
Hello experts,
in my app , when user want to delete row in a table, s/he should enters delete remark "textarea", how i can show text area when click delete , i need friendly way to do this
Thaaaaanks
in my app , when user want to delete row in a table, s/he should enters delete remark "textarea", how i can show text area when click delete , i need friendly way to do this
Thaaaaanks
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
function del()
{
document.getElementById("t xtarea").s tyle.displ ay='block' ;
}
</script>
</HEAD>
<table>
<tr>
<td>
Name
</td>
<td>
<p id='txtarea' style='display:none'>
<textarea rows='2' cols='10'></textarea>
</p>
</td>
<td>
<input type='button' value='Do_youWant_Delete' onclick='del()'>
</td>
</tr>
</table>
{
document.getElementById("t
}
</script>
</HEAD>
<table>
<tr>
<td>
Name
</td>
<td>
<p id='txtarea' style='display:none'>
<textarea rows='2' cols='10'></textarea>
</p>
</td>
<td>
<input type='button' value='Do_youWant_Delete' onclick='del()'>
</td>
</tr>
</table>
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Thaaank you all :)






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
JavaScript
--
Questions
--
Followers
Top Experts
JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.