Jump to content

Search the Community

Showing results for tags 'fileupload'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Development
    • HTML Coding
    • JavaScript
    • PHP
    • CMS
    • Database
    • Web Server
    • Web-site Development
    • Internet Marketing, SEO
  • Library
    • Tricks and solutions
    • Books
  • Commercial services
    • Freelance
    • Job
    • Goods and Services
  • Our Forum
    • Flame
    • Contests
    • Feedback and Ideas

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Web site


Telegram


Signal


Viber


Skype


From


Interests

Found 1 result

  1. Всем привет, В проекте с jquery 3.1.0 для отправки post-запроса работает нормально: var HRef = "{{ base_url }}admin/attribute/update_attribute_item" var DataArray = { "attribute_id": '{{ id }}', "attribute_item_id":current_attribute_item_id, "item_value": encodeURIComponent(attribute_item_item_value), "item_label": encodeURIComponent(attribute_item_item_label), 'csrf_test_name': $.cookie('csrf_cookie_name') // TODO : UNCOMMENT ON LIVE }; jQuery.ajax({ url: HRef, type: "POST", data: DataArray, success: onChangedAttributeItem, dataType: "json" }); На другой форме с запросом при выборе картинки fileupload ( jQuery File Upload Plugin 5.31.6 ) var HRef = "{{ base_url }}admin/product/upload_image_to_tmp_product/product_id/" + product_id $('.product_image_fileupload').fileupload({ url: HRef, type: "POST", 'csrf_test_name': $.cookie('csrf_cookie_name'), dataType: 'json', done: function (e, data) { Получаю ошибку 403 (Forbidden) Помнится на jquery 1 таких проблем не было Или проблема в другом ? И я скачал проект целиком отсюда https://github.com/blueimp/jQuery-File-Upload, но не нашел а какая у них стабильная версия? В требованиях написано jQuery v. 1.6+... Спасибо!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy