Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

jquery get element tag

jQuery("<a>").prop("tagName"); //==> "A"
jQuery("<h1>").prop("tagName"); //==> "H1"
jQuery("<coolTagName999>").prop("tagName"); //==> "COOLTAGNAME999"
Comment

PREVIOUS NEXT
Code Example
Javascript :: moment.js 
Javascript :: process.argv 
Javascript :: js input trigger oninput event 
Javascript :: javascript alert 
Javascript :: find text in label jquery 
Javascript :: api.fetch saga 
Javascript :: how to get last element of array in javascript 
Javascript :: remove all elements of one array from another javascript 
Javascript :: how to crash with js 
Javascript :: how to draw a horizontal line in javascript 
Javascript :: get array of selected options from select element 
Javascript :: javascript split remove last element 
Javascript :: react native password strength meter 
Javascript :: delete space from string javascript 
Javascript :: react onclick runs on load 
Javascript :: react native navigation nested 
Javascript :: Disabling right click using Javascript 
Javascript :: javascript max_value 
Javascript :: how to dynamic title in nuxt 
Javascript :: delete row in html table using javascript 
Javascript :: react lottie 
Javascript :: react dom cdn 
Javascript :: javascript append html 
Javascript :: js UTC to local timezone 
Javascript :: react functional components 
Javascript :: how to print a pdf 
Javascript :: jwt expiresin 
Javascript :: cypress graphql request 
Javascript :: document fragment 
Javascript :: angular cli generate guard 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =