Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how can i do metaname csrf token attrcontent in vanilla javascrip

document.querySelector('meta[name="csrf-token"]').getAttribute('content');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #metaname #csrf #token #attrcontent #vanilla #javascrip
ADD COMMENT
Topic
Name
7+3 =