Magneto Ajax Help for Image
- or -
Post a project like this2962
$10
- Posted:
- Proposals: 2
- Remote
- #1047132
- Awarded
Description
Experience Level: Entry
General information for the website: I am a developer
Description of requirements/features: What I am trying to do can be best understood by this URL. I am using the same library in magneto .
http://phpimagick.com/ImagickDraw/rectangle
Below is my code (for some reason pph not filtering out my code). I will provide team viewer access to resolve the issue.
--------------------
Code for postlink.php
<?php
$svg = '
User Side Code...
jQuery.ajax({ url: '//postlink.php', type: 'POST', data: { 'color': $colorValues },
beforeSend: function() {
jQuery('#svg-container').hide();
jQuery('input.btn-marginFrm').attr('disabled', 'disabled');
},
dataType: 'json',
success: function (resultAjax) {
for(var i in resultAjax) {
jQuery('#' + i).html(resultAjax[i]);
}
jQuery('#svg-container').show();
jQuery("html, body").animate({
'scrollTop' : 0
}, 200);
},
complete: function() {
jQuery('input.btn-marginFrm').removeAttr('disabled');
},
error: function () { alert('There seems some problem. Please try Later') }
});
});
Specific technologies required: Magento
Extra notes:
Description of requirements/features: What I am trying to do can be best understood by this URL. I am using the same library in magneto .
http://phpimagick.com/ImagickDraw/rectangle
Below is my code (for some reason pph not filtering out my code). I will provide team viewer access to resolve the issue.
--------------------
Code for postlink.php
<?php
$svg = '
User Side Code...
jQuery.ajax({ url: '//postlink.php', type: 'POST', data: { 'color': $colorValues },
beforeSend: function() {
jQuery('#svg-container').hide();
jQuery('input.btn-marginFrm').attr('disabled', 'disabled');
},
dataType: 'json',
success: function (resultAjax) {
for(var i in resultAjax) {
jQuery('#' + i).html(resultAjax[i]);
}
jQuery('#svg-container').show();
jQuery("html, body").animate({
'scrollTop' : 0
}, 200);
},
complete: function() {
jQuery('input.btn-marginFrm').removeAttr('disabled');
},
error: function () { alert('There seems some problem. Please try Later') }
});
});
Specific technologies required: Magento
Extra notes:
R K.
100% (12)Projects Completed
18
Freelancers worked with
16
Projects awarded
31%
Last project
25 Feb 2021
India
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies