OK, I have a working example from jsfiddle that I can not get to work. Tomorrow used the code and now it just does not work.
The code should check the duplicated email and remove the second email from Texter first.
Link work sample for JSfield:
I am using the exact code on my website, although it always says that there is no email in the text.
Can anyone see any error in the code?
My website:
My HTML code:
& lt; Script src = "https://ajax.googleapis.com/ajax/ libs/jQuery/1.11.1/jquery.min.js" & gt; & Lt; / Script & gt; & Lt; Textarea id = "email-extractor" class = "email-extractor-textray" & gt; & Lt; / Textarea & gt; & Lt; Textarea id = "email-extracted" class = "email-extractor-textray" & gt; & Lt; / Textarea & gt; My Jquery code:
function extractEmails (text) {return text.match (/ ([a-zA-Z0-9 ._-] + @ [One-zA-Z0-9 ._-] \ [one-zA-Z0-9 ._-]) / gi). } Performance Duplicate (ARR) {var i; Var len = arr.length; Var Out = []; Var obj = {}; For {I = 0; i
You have a section with ID Removing email and A text field with ID email-extractor After this you want to target one of you
, make sure that you have to change one of these constructing your js lines
No comments:
Post a Comment