Search
 
SCRIPT & CODE EXAMPLE
 

HTML

add custom values in html tag

<p username="Grepper" id="element"></p>
<script>
	Username = document.getElementById("element").getAttribute("username")
	console.log(Username) // "Grepper"
</script>
Comment

PREVIOUS NEXT
Code Example
Html :: youtube embed with captions 
Html :: document.getElementByClassName("preview").innerHTML=src; 
Html :: func.apply is not a function at HTMLUnknownElement.callCallback 
Html :: html link without opening new tab 
Html :: html5 css3 
Html :: angular read element from html by atribute name 
Html :: cdn 
Html :: Magento Reindex Error : Catalog Search index process unknown error: "-//IETF//DTD HTML 2.0//EN" 405 Method Not Allowed 
Html :: readhtml tags in python 
Html :: theme my login/logout shortcode 
Html :: nigeria naira code 
Html :: acept img html 
Html :: bootsta 
Html :: simbolo checkbox en tabla en html 
Html :: html all caps (applicable only visually) 
Html :: icon-test 
Html :: how to make a check box that redirect to a nother site is is the input value is correct 
Html :: plantuml multiline footer 
Html :: how to execute asp code in html 
Html :: Using aria-valuetext 
Html :: falling star animation code 
Html :: type animation js 
Html :: script file not working in internet explorer 
Html :: simple canvas car game 
Html :: dorpdown format in template 
Html :: boostrap date input withour day 
Html :: <iframe width="480" height="440" src="https://statpedia.com/embed/HJRkNdPtd" frameborder="0" allowfullscreen</iframe 
Html :: audio element not visible 
Html :: very cool html 
Html :: index number in odoo reports 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =