1
Answer

how to Add an unsubscribe option in HTML content dynamically

Ravi Patel

Ravi Patel

9y
409
1
Hi All,
 
I am passing html text from view to  controller   i want to add     unsubscribe option(link <a href="unsubscribe.html">Unsubscribe</a>) above the closing tag of body (</body>) 
 
suppose i have this html text   
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <title></title> </head>
<body> <table style="width:100%">
<tr> <td>Jill</td> <td>Smith</td> <td>50</td>
</tr>
<tr> <td>Eve</td> <td>Jackson</td> <td>94</td>
</tr> </table>
<a href="http://www.google.com">Visit </a>
 <a href="unsubscribe.html"></a>  // i want to  add this    inside controller  action method   after posting the html text from view page
</body>
</html>
 
Answers (1)