Can we get a checkbox inside a text area in the html??
I was trying to develop an User Interface, i will share the code
<textarea title="JSON Input" id="json_data" ></textarea>
In this, I need to add a checkbox, so that how much lines of json I will give, that should come with respective check boxes in each lines.
Suppose in my text area, I am entering a json of 5 Lines, I should get these 5 lines in the text area followed check boxes at the end of the line.
<input type="checkbox" onclick="if(this.checked){myFunction()}">
I am using above script for getting checkbox, but I am not getting the required output.Can we use any regex for this??
Aucun commentaire:
Enregistrer un commentaire