How to read data between two html tags as text.
Posted
by vijay.shad
on Stack Overflow
See other posts from Stack Overflow
or by vijay.shad
Published on 2010-05-12T19:42:45Z
Indexed on
2010/05/12
20:04 UTC
Read the original article
Hit count: 232
Hi,
I am working on a project which needs to extract text form a predefined div
tag.
My requirement is to send the content in the target div
in a email body. I have to use javascript
or php
for this task.
The Process :
When a given link will be clicked; a javascript
function will trigger and read that target div
. The content of the div
will be then submitted to server in dynamic form.
What options I have to get this task done?
Thanks.
© Stack Overflow or respective owner