My controller Save in

action name:save

in phtml code:

  url: '<?php echo Mage::helper("adminhtml")->getUrl('management/adminhtml/orderattachments/save')?>'

this my magento url:

in network XHR 404 error accours. what is wrong in url?

1 Answer 1


Change url

<?php echo Mage::helper("adminhtml")->getUrl('adminhtml/sales_order/view/orderattachments/save')?>
  • is it works?....
    – Amit Bera
    Jan 1, 2015 at 13:22
  • Please accept your answer and it will complete the thread Jan 1, 2015 at 20:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.