I want to place text 'Mindstick' with hyperlink <a href="http://www.mindstick.com" inside a div having class-id as "my-link".
How can this be done using jquery or javascript?
Home / DeveloperSection / Forums / How can I add text link in a div using jquery?
I want to place text 'Mindstick' with hyperlink <a href="http://www.mindstick.com" inside a div having class-id as "my-link".
How can this be done using jquery or javascript?
Dag Hammarskjold
05-Oct-2013You can do this :
But it would add the hyperlink to all .my-link divs, so it's better to add an ID to div and use the ID on jquery code.