@iBeZiApr 03.2013 — #The data attribute can only be used in JavaScript, if you want to pass it to another page you could do so by appending the value in the URL as a $_GET variable or by using AJAX.
@iBeZiApr 03.2013 — #AJAX is used to send a request out to another page of your website receiving some kind of response back, without leaving the page the request was sent from.
It isn't particularly difficult, it just might not be what you're after.
Here's a quick ajax example, you open the page you want to send the request to appending your variables into the URL, then send the request, wait for a response, then do whatever with the response you get from the page.
@Sub_SevenauthorApr 03.2013 — #Yeah, that might not do what I need, I'll look into it a little further, might be a good chance to start learning a little AJAX though...