Topic: How to pull the title and url from an iframe?

I have an iframe in which the user can browse.  When they hit the 'add this page' button i need to retrieve the url and the title of the page currently shown in the iframe. 

Does anyone know how to do this?  Do i need to assign a variable name to my iframe?  (currently it just sits in my template as a bit of html)

###########################################
#If i've helped you then please recommend me at Working With Rails:
#http://www.workingwithrails.com/person/ … i-williams