I have Jquery that works fine to style the user/login page....
$( document ).ready(function() {
$(":submit").addClass( "btn btn-default" );
$(".btn").css('margin-right', '10px');
$(".w2p_fl").attr('align', 'right');
$( "form>table" ).prepend( '<tr><td colspan="2"><figure
class="form__image"><img
src="/welcome/static/css/images/ico-dollar-happy-large.png" width="72px"
alt=""></figure></td></tr>' )
});
But I cant for the life of me get it to apply when I hit the sign up
button. This is what Im using, but Ive also tried form and even document
dot change....
$(".form-sign").change(function(){
$(":submit").addClass( "btn btn-default" );
$(".btn").css('margin-right', '10px');
$(".w2p_fl").attr('align', 'right');
//$( "form>table" ).prepend( '<tr><td colspan="2"><figure
class="form__image"$
$( "form>table" ).prepend( '<tr><td colspan="2"><figure
class="form__image"><img
src="/welcome/static/css/images/ico-dollar-happy-large.png" width="72px"
alt=""></figure></td></tr>' )
Any thoughts?
--
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.