in IE 6+7 (havent test IE8) the reset button is left aligned like it should.
but the other "primary" button isn't right aligned.
This is caused by the
if i use
it works like it should.
sadly the reset button created with yii create the input type=“reset” code. (also I cannot find any option to create a reset “button”)
But a simple div around the rest button solves the issue in IE.
So a simple
in CUFHtml::resetButton solves this IE issue.
I also got a js error in the uni-form.jquery.js " parent[0].className has no properties" when i had focused a input field and clicked the reset button afterwards.
Is anyone else have this issue? (also here if a button is used instead of a input element the issue is fixed)
This can be fixed by swap the js code in the js file with this below:
Don't know if this is a issue with a newer jquery but i guess it is. I also haven't tested the above code in detail, but in my current forms it works.
in IE 6+7 (havent test IE8) the reset button is left aligned like it should.
but the other "primary" button isn't right aligned.
This is caused by the
if i use
it works like it should.
sadly the reset button created with yii create the input type=“reset” code. (also I cannot find any option to create a reset “button”)
But a simple div around the rest button solves the issue in IE.
So a simple
in CUFHtml::resetButton solves this IE issue.
I also got a js error in the uni-form.jquery.js " parent[0].className has no properties" when i had focused a input field and clicked the reset button afterwards.
Is anyone else have this issue? (also here if a button is used instead of a input element the issue is fixed)
This can be fixed by swap the js code in the js file with this below:
Don't know if this is a issue with a newer jquery but i guess it is. I also haven't tested the above code in detail, but in my current forms it works.
I'll add your code into CUFHtml class
I’ve already modified script for this case so currently I can choose between your and my versions
Thanks for your opinion and additions
PS. Does anybody have problems in IE with active field highlighting?
Attached file was posted before forum changing. Looks like incorrect forum conversion. You can download it from "extension" section of this site or from http://code.google.com/p/yii-uniform/