sgzwiz / brython

Automatically exported from code.google.com/p/brython
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

How to get the attribute of an HTML widget? #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
First i have code like this:

     doc<=IFRAME(Id='f')
     f=doc['f']

then how can i get the iframe attribute src and etc.

i've tried 

     f.src
     getattr(f, 'src')
     getattr(f.elt, 'src')
     getattr(f.window, 'src')

none could work, can you give me a little hint?

Original issue reported on code.google.com by sun...@gmail.com on 18 Dec 2012 at 12:38

GoogleCodeExporter commented 9 years ago
Well, I may correct my question:

how to set f.src?

Original comment by sun...@gmail.com on 18 Dec 2012 at 7:05

GoogleCodeExporter commented 9 years ago
Bug fixed by release published 20121218

Original comment by pierre.q...@gmail.com on 18 Dec 2012 at 9:17