Get the selected value from multiple radio boxes having same name
The following code is used to get the selected radio button value by name
Get the value of the select box in ie
We can’t access the option value using javascript on Internet Explorer using the normal javascript method.ie we cant get the value of the select box in ie IE is looking for the value attribute. It looks like other browsers are …
How to clear the placeholder on focus
By default place holder will stay there when we click on the text box, We can do it by writing simple code with javascript as follows Don’t forget to include jQuery The above code is mentioned only for text boxes …
How to call any template inside phtml file magento
Sometimes you want to call a block inside a .phtml file without defining in layout. In this case, we can use a method called toHtml of a block. Assume that we have a block called Mymodule and a template that …
