Comments (2)
$$.post("backend.php", {command: 'next'});
El miércoles, 6 de marzo de 2013 a las 23:46, thomasvalera escribió:
I have a $$.post sending a command to backend.php.
This backend does not echo any data and all works as expected.
$$.post("backend.php", {command: 'next'}, function(response) {});Only when I echo something from the backend and thus change the code by:
$$.post("backend.php", {command: 'state'}, function(response) {alert(response);});I get the following error:
Uncaught TypeError: Object # has no method 'call'
I have seen this closed issue 31 but I don't see what I do differently!
Already thanks for your help.—
Reply to this email directly or view it on GitHub (#55).
from quojs.
hi i 'm jitendra patidra i have use $$.post i have get this type error TypeError: settings.error.call is not a function
my code in
var Urls = sitesetting.webRoot + "/HomePagejTemplates/CheckWishListItem.ashx?ItemId=" + ItemId;
$$.post(Urls,function (data) {
var result = json;
$$("#WL_" + ItemId + "").removeClass('fa-th-list').addClass('fa-refresh fa-spin');
if (result == 'False')
{
var Url = sitesetting.webRoot + "/HomePagejTemplates/AddToWishList.ashx";
var parameter = { ItemId: ItemId, QTY: 1, itemsize: itemsize };
$$.json(Url, parameter, function (datas) {
$$("#WL_" + ItemId + "").removeClass('fa-refresh fa-spin').addClass('fa-th-list');
});
}
else {
$$("#WL_" + ItemId + "").removeClass('fa-refresh fa-spin').addClass('fa-th-list');
}
//"WL_" + ItemId + "" fa-refresh fa-spin
//return;
});
from quojs.
Related Issues (20)
- No conflict method HOT 6
- Browser Compatibility? HOT 1
- .off works only on events explicitly defined with .on HOT 2
- "hold" function won't show "currentTouch" object upon first hold
- Android 4 Bug HOT 3
- Is it the '2xFingers Tap' event was not implemented? HOT 1
- QUOJS Blocks jQuery Click Events on Mobile HOT 6
- Tap event not working HOT 3
- Please publish on npm HOT 6
- Site isn't useful without demo HOT 2
- QuoJs preventing click events in Android 5.0+ HOT 6
- why some android mobile phone can't use Swipe methods
- the checkbox and radio with label cannot be checked by click on the label HOT 1
- Multiple event .on() binding
- quojs and webpack HOT 2
- QouJS and Windows Phone HOT 7
- QuoJS file order HOT 1
- unable to preventdefault inside passive event listener invocation HOT 1
- How to actually link/install
- Expose duration and timeout configuration for gestures HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quojs.