[web2py] Re: generating html ids in web2py

2010-05-17 Thread Ian Reinhart Geiser
I found the problem... I was using the YUI selector to get the element, and when the uuid started with a number the CSS selector would fail. I just prepended some known text and now it works. On May 17, 12:42 pm, Ian Reinhart Geiser wrote: > That doesn't seem to work with IE 8 when I try to get

[web2py] Re: generating html ids in web2py

2010-05-17 Thread mdipierro
could me. try web2py_uuid.replace('-','') On May 17, 11:42 am, Ian Reinhart Geiser wrote: > That doesn't seem to work with IE 8 when I try to get the element by > ID.  If i use that web2py_uuid there it wont work, but if i use just > plain text it works.  Could it be that IE dislikes the - charac

[web2py] Re: generating html ids in web2py

2010-05-17 Thread Ian Reinhart Geiser
That doesn't seem to work with IE 8 when I try to get the element by ID. If i use that web2py_uuid there it wont work, but if i use just plain text it works. Could it be that IE dislikes the - characters in the ID? On May 17, 12:13 pm, mdipierro wrote: > I have used web2py_uuid for this purpose

[web2py] Re: generating html ids in web2py

2010-05-17 Thread mdipierro
I have used web2py_uuid for this purpose. On May 17, 10:22 am, Ian Reinhart Geiser wrote: > Is there an easy way to generate unique element id properties for a > web2py created DIV?  I saw web2py_uuid, but that did not look like a > good fit, or is it?