quote:
Originally posted by Spunky
what do you mean send it to a user? e-mail?
I would suggest jquery (javascript library) would be probably the best way to do this as it has a built in, simple ajax function and selectors to get the right element easily (very flexible) and a function to read the contents of the div...
Although, if you do want to use email, You'd need to find a way to pass the javascript variable to PHP, which IIRC needs to be done through some sort of form.
Thanks for replying
No, not e-mail, through an instant message.
I've never heard of jquery, so I don't know if I'd even know how to use it, but look at this script:
http://shoutbox.menthix.net/showthread.php?tid=73...d=810875#pid810875
I want it to do something like that. Instead of the text on the site being grabbed and being displayed in a personal message though, I want the text (from a specific div) from my site to be sent through an instant message on command.