to add extra property to a hyperlink?
Posted: Mon Mar 22, 2010 11:20 am
Hi,
I want to identify hyperlink tags in a string and then add a property "target" to that hyperlink. for example i have <a href ="http://www.google.com">google.com</a>. i want to add a property "target" to the above hyperlink like <a href ="http://www.google.com" target="_new">google.com</a>. I am new to programming, so please help me out..
Thanks
Raja
I want to identify hyperlink tags in a string and then add a property "target" to that hyperlink. for example i have <a href ="http://www.google.com">google.com</a>. i want to add a property "target" to the above hyperlink like <a href ="http://www.google.com" target="_new">google.com</a>. I am new to programming, so please help me out..
Thanks
Raja