I though this would be simple enough but I can\'t find the answer. I need to know how I can access an iframe\'s name from within said iframe. I was trying something like thi
Something like this should work:
parent.document.getElementById('idhere').name;
You have to use the parent and then get the element either byId, Name, etc... then access the name property.
So your code should be like: