how can i remove an icon from a table dynamically in javascript?

Try removing all spaces inside of your div#bintangXYZ HTML. Remember that childNodes returns text nodes too, so sometimes when you click you just remove a whitespace between the stars. Also place the <input name="nilai[]> after all the stars (because you are prepending all the added stars).

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top