Possible Duplicate:
how to make iphone apps like ibeer, imilk, ibug, ibeer
Use javascript to get raw html code
Let's say i have an html section like this:
<div id="post_content">
<span>▶<span>
</div>
(this is right pointing triangle)
I want to get the child of the "post_content" as raw html, that is as a string that is exactly the same as in the code above, so:
"<span>▶<span>"
When I do
$('#post_content').html()
the content of the span get's transformed to something else it seems, when I post it using $.post() for example it turns into %E2%96%B6.
How do I get the content of post_content as a string that is exactly the same the original?