javascript - Get substring of href attribute via css -


i expanding urls print stylesheet. trouble is, of anchors reference javascript urls, such as:

javascript:handlelink('{{ reference id }},'cpnewwin:_blank^@cp___pageid=12345678,{{ relative url }}'); 

i know can use substring matching attribute selectors match href attribute code a[href^="/"] or a[href*=""], i'm doing other cases.

what want here url out of cpnewwin:_blank^@cp___pageid=12345678,{{ relative url }} mess above.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -