Hi james70!
There are a few ways to pass the information to the other page, I am assuming that's what you want.
First, we want to get what's inside that <div>. I would do this by giving the <div> an ID:
HTML Code:
<div id="texttoget" class="entry">
My Text...
</div>
And with Javascript, get the text inside using innerHTML. Let's put it in a variable called thetext .
Code:
var thetext = document.getElementById("texttoget").innerHTML;
Now we decide how to pass it. My personal favourite is using window.name .
Code:
window.name = thetext;
That way the window's name will be what is inside the <div>. When you get to the other page, just use
Code:
var thetext2 = window.name;
Now the other page has what was in that <div> in the variable thetext2 . Make sure you clear window.name though (the default is "view").
Another way to do it is to use the address bar at the top of the page. There is a tutorial on how to do this at HTMLGoodies (he'll probably explain it better):
http://www.htmlgoodies.com/beyond/ja...le-Passing.htm
So now you know! Hope that helps!