Iteration through the html document

Add-in Express™ Support Service
That's what is more important than anything else

Iteration through the html document
I need to iterate through the html document and insert a div tag after each p tag 
Fady Sayegh




Posts: 7
Joined: 2012-09-12
Hi all,

I have created an ie add-in. when i click on a button from the toolbar, i need to iterate through the html document and each time i found a "P" tag, i need to insert a "DIV" tag which contains a link.

for example:

first paragraph

second paragaph

third paragraph


The result will be :

first paragraph

hyperlink 1

second paragraph

hyperlink 2

third paragraph

hyperlink 3




Thanks for your help

Regards

Fady Sayegh
Posted 14 Sep, 2012 13:26:02 Top
Eugene Astafiev


Guest


Hi Fady,

Please take a look at the http://www.add-in-express.com/downloads/mapi-store-events.php sample add-on. It demonstrates the required functionality. Also please take a look at the http://www.add-in-express.com/support/ie-vbnet-csharp.php page on our web site.
Posted 17 Sep, 2012 05:33:46 Top