Method-1: var myString = $(‘#your_id’).val(); var reverseString= myString .split(“”).reverse().join(“”); Method-2: function reverse(s) { var o = []; for (var i = 0, len = s.length; i <= len; i++) o.push(s.charAt(len – i)); return o.join(”); } alert(reverse(‘rawnA niassoH’));
Read MoreStep 1 Click the Firefox button in the upper left corner of the Firefox window and select “Add-ons” to open the Add-ons Manager tab. Step 2 Select “Extensions” from the left pane and your Firefox extensions are displayed in the right pane. Step 3 Click the Skype extension’s name to select it. Step 4 Click […]
Read More<?php Mage::getStoreConfig(‘sectionName/groupName/fieldName’); ?>
Read More<?php Mage::getModel(‘eav/entity_attribute_set’)->load($_product->getAttributeSetId())->getAttributeSetName(); ?>
Read More$attribute=$_product->getResource()->getAttribute(‘custom_attribute_code’); if ($attribute) { echo $attribute_value = $attribute ->getFrontend()->getValue($_product); } Hope it will you.
Read More$fieldset->addField(‘checkbox_name’, ‘checkbox’, array( ‘name’ => ‘ checkbox_name ‘, ‘onclick’ => ‘this.value = this.checked ? 1 : 0;’, ‘tabindex’ => 1 )); How to re-populate the checkbox on Edit page: Just add the extra line in ablove code like below: $fieldset->addField(‘checkbox_name’, ‘checkbox’, array( ‘name’ => ‘ checkbox_name ‘, ‘onclick’ => ‘this.value = this.checked ? 1 : […]
Read MoreTable: core_config_data path:dev/js/merge_files path:dev/css/merge_css_files
Read MoreLicense Key PhpStorm 8 User Name : EMBRACE ===== LICENSE BEGIN ===== 43136-12042010 00002UsvSON704l”dILe1PVx3y4″B3 49AU6oSDJrsjE8nMOQh”8HTDJHIUUh gd1BebYc5U”6OxDbVsALB4Eb10PW8″ ===== LICENSE END ===== User Name : TorReviver ===== LICENSE BEGIN ===== 09574-12042010 00000N7tVkjChpCjDvLjvELNOsgIeH 1POKglQCIddVHUwb6RDtMpzpzeXi0Z RGN7yqI340MhKOu1odUVLb40g5HUF4 ===== LICENSE END ===== User Name : Learn Programming ===== LICENSE BEGIN ===== 63758-12042010 00000Ryqh0NCC73lpRm!XVcxFChJ2g TUR2lZtlLXrPLbQ66Gs8MHs51RvF2y agoDlzne08Zm8VXbts1UMKE!EW4v8G ===== LICENSE END ===== ===========WebStorm 10.0.1============== […]
Read MoreIt is very simple solution. Please follow the below step: Go To the file app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php Replace : public function supportEngine() { $variables = $this->_getConnection() ->fetchPairs(‘SHOW VARIABLES’); return (!isset($variables[‘have_innodb’]) || $variables[‘have_innodb’] != ‘YES’) ? false : true; } With : public function supportEngine() { $variables = $this->_getConnection() ->fetchPairs(‘SHOW ENGINES’); return (isset($variables[‘InnoDB’]) && $variables[‘InnoDB’] != ‘NO’); }
Read MoreIf you haven’t tried AngularJS yet, you’re missing out. The framework consists of a tightly integrated toolset that will help you build well structured, rich client-side applications in a modular fashion—with less code and more flexibility. AngularJS extends HTML by providing directives that add functionality to your markup and allow you to create powerful dynamic […]
Read More