returning Archive
-
Having trouble returning php data to jQuery ajax call
Posted on April 11, 2012 | No CommentsIt seems this type of question has been asked and answered a number of time before, but I just can’t seem to get this working, even after hours of trying... -
Search in CGridView returning jQuery Conflict
Posted on March 19, 2012 | No CommentsI have a CGridView in my admin.php in my Yii webapp. When I try searching the rows in the admin panel I get the following error : $ .param.querystring is... -
jQuery Deferred – returning promises up a call chain
Posted on March 6, 2012 | No CommentsI’m having an issue with $ .Deferred in jQuery 1.7.1. I think the behaviour of the returning values from when/then/fail etc is different to what I think it should be.... -
AJAX (JQuery) Returning Error Unexpectedly
Posted on March 3, 2012 | No CommentsI have this Jquery AJAX request to process the creation of Word documents (using PHPWord). The reports are processed and, as far as I am aware, I should not get... -
.getJSON isn’t returning results
Posted on February 14, 2012 | No CommentsHow come I’m not getting the alert when this page is loaded? I’m checking out the call in firebug, and it’s making the call out to the Google Maps API…... -
XML Objectifier returning XML string rather than JSON object
Posted on February 13, 2012 | No CommentsI am trying to use XML Objectifier (x2j.js from http://www.terracoder.com/index.php/xml-objectifier) to convert some XML to JSON. I have a very simple test case where x2j.js is returning a string of... -
ASP.NET web service returning xml instead of json
Posted on February 4, 2012 | No Commentshere is my code; $ (document).ready(function () { $ ('#btnAddCat').click(function () { var cn = $ ('#txtCategoryName').val(); alert(cn); $ .ajax({ type: 'Post', url: "../_ws/news.asmx/InsertCategory", data: { catName: + cn },... -
Jquery returning 500 (internal error)
Posted on February 3, 2012 | No CommentsSo I am using jQuery to load an element into another. This code was working until I uploaded my project to a remote server and set it up under a... -
Cross domain ajax request returning XML
Posted on January 28, 2012 | No CommentsThis is the piece of javascript that’s not working for me: $ .ajax({ crossDomain: true, type: "POST", url: "https://www.testdatasolutions.com/reportgw", data: "ACCOUNT=creditreport123&PASSWD=asdj97sdf&PASS=2&PROCESS=PCCREDIT&NAME=Robert+Ice&SSN=891-42-3221&ADDRESS=111+W+8th+St&CITY=Fantasy+Island&STATE=IL&ZIP=60750&BUREAU=TU&PRODUCT=CREDIT&DEFAULTOUTPUT=XML" }) .done(function( msg ) { alert( "Data Saved: "... -
Uncaught SyntaxError: Unexpected token ILLEGAL when returning a £ symbol using JSON
Posted on January 17, 2012 | No CommentsWhen I try to return a £ symbol from a JSON call, I get an error in chrome: Uncaught SyntaxError: Unexpected token ILLEGAL var currency = ""; var price =...