¡@

Home 

2014/10/16 ¤W¤È 12:04:36

jquery Programming Glossary: knackweekend

if text contains '@' change color of '@'

http://stackoverflow.com/questions/17191076/if-text-contains-change-color-of

3D jurk a target _blank href http t.co s2y6b21S0I http t.co s2y6b21S0I a via @ a target _blank href http twitter.com Knackweekend Knackweekend a javascript jquery html css share improve this question Without seeing your HTML the best I can offer.. _blank href http t.co s2y6b21S0I http t.co s2y6b21S0I a via @ a target _blank href http twitter.com Knackweekend Knackweekend a javascript jquery html css share improve this question Without seeing your HTML the best I can offer is a simple.. below var status ' a target _blank href t.co s2y6b21S0I http t.co s2y6b21S0I a via @ a target _blank href twitter.com Knackweekend Knackweekend a ' newStatus status.replace @ g ' span class atSign @ span ' console.log newStatus JS Fiddle demo . To colour..