Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

assigned property delete in jquery

We can use removeAttr() to delete the assigned property of the element.

Example:
<p class="element_name" id="element_id" name="element_name">
  
js: $("p").removeAttr("name");
output: <p class="element_name" id="element_id">
 
PREVIOUS NEXT
Tagged: #assigned #property #delete #jquery
ADD COMMENT
Topic
Name
8+3 =