The was disturbing layout on need to set class
having
Magento desirable.
when
function.
having
Magento desirable.
when
function.
I am a developer and I know how hard it is to solve difficult issues while programming in case you did not get any help. I have faced this so many times. That's why I started this blog so that I can share problems and solutions with developer community. In case if you face any issue in programming do check my blog once, it will surely save your time.
Hi Hiren Kunal Parikh here..
ReplyDeleteIn that case u can also use jquery ...
$(controlId).addClass();
add this in $(document).ready(function(){
});
Using jquery you can apply style sheet n much more very easily .. so check it out ..
Hi Kunal
ReplyDeleteThanks for your comment.
Yes you are right we can use jquery but Magento use Prototype js. It also use same syntax as jQuery. So if we want to use jQuery with Magento we have to resolve this conflict first. To avoid this I have used pure JavaScript.