hey Anthony, yes I tried that and it worked in safari, chrome, and IE, but
not in Firefox. further research and testing many many suggestions later.
I came up with in the view, which essentially puts the value back to the
original after autocomplete does its little mess:
{{block head}}
<script>
jQuery(window).load( function () {
var email = jQuery('#auth_user_email');
email.prop('value', email.attr('value'));
});
</script>
{{end}}
where in jQuery the prop is the current value in the document and attr is
the original when the document is first retrieved/loaded. I used the load
function because it runs after the ready function and I believe definitely
after the autocomplete overwrites the input value. you can do the same
thing with the password input also.
that is the only universal way of doing it that I can come up with. Lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.