use json object in c#
http://xurrency.com/api this webservice is returning a json response message. how can I use this message as an object in my .net project (asp.net web app) ...
http://xurrency.com/api this webservice is returning a json response message. how can I use this message as an object in my .net project (asp.net web app) ...
Hello, I'm using jQuery AJAX to load (and refresh) a part of my page Here's the jQuery function in my main page: function updateCategories(){ catList = $('#cat_list'); catList.hide(); //send the post to shoutbox.php $.ajax({ type: "POST", url: "../ajax/products-categories.php", data: "action=refresh", co...
Hi there, Is there any way to tell your localhost that it can do cross domain ajax calls? I need this for my testing. If it is a browser specific issue i am using google chrome. Cheers. ...
Hi, I'm on a project that requires Spring-MVC for page navigation (possibly with webflow) where certain pages use RESTEasy to make Ajax calls (with JSON). I found an approach on DZone JavaLobby and followed it's approach (server is JBoss): I have configured the project so that it uses Spring MVC for page navigation and REST calls as re...
The web site was built on asp.net platform. Ajax enabled. It works very well on ie or chrome, but it does not work on mozilla...? You see arrows work great but the numbers does not appear? how can i fix.. http://dexiab-2.hosting.parking.ru//Default.aspx#world the link to see the detail.. ...
Uploading files via PUT method, even binary or text, via a "normal web browser" is possible. Why many people are just saying, that is not possible ? Sample code with jQuery and PHP. $(document).ready(function() { $("#uploadbutton").click(function() { var filename = $("#file").val(); $.ajax({ type: "PUT", ...
Go to http://www.facebook.com/facebook?v=wall, then click on the info tab. The content will be loaded, and the address bar now becomes http://www.facebook.com/facebook?v=info but the webpage didn't reload. At first I think it is Ajax, but my question is, how do you change the address bar without reloading? I know I can change anchor (#w...
hello, i have post detail page (asp.net, umbraco cms), with search box and post replay box. the problem is that when user try to search using the search box, it cause validation error in the post replay box. the search is client side form. the post replay is server side form. you can view it live at: http://www.thereturnvalue.com/blog/20...
i have a web site with asp.net a made the menu with ajax hovermenu it runs in windows xp but in windows7 it doesn't appear i don't know why ...
Hey, i think this is simple, but I can't get it to work! :( def ajax_filter(request): area_id = request.REQUEST.get('area_id') outlets = Outlet.objects.filter(zipcode__area=area_id) json_serializer = serializers.get_serializer("json")() data = json_serializer.serialize(list(outlets), ensure_ascii=False) return Htt...
This is a question that never has a proper answer, i have search the net many times and i couldnt find a solution. xhr.open("GET", fullurl, true); if(xhr.overrideMimeType) xhr.overrideMimeType("text/html; charset=ISO-8859-1"); xhr.send(null); xhr.onreadystatechange = function(){ if(xhr.readyState == 4){ if(xhr.status == 200) alert...
Hi, everyone! I'm writing Asp.Net MVC 2 site. I have TimeController and TimeView, CountDownHelper for render time on TimeView page. Also I have JavaScript that updates current time, that is used in CountDownHelper. I need to call AJAX from this JavaScript to get current Time on server. How I can to do it? Please help me! I must i...
Hi all, I have a webpage I'd like to use locally, without a web server, by simply opening the local HTML file in my browser. This webpage in question loads data via jQuery's getJson() method, as in: $.getJSON("mydata.json", function(j) { ... The JSON files are also local, and are stored in the same directory as the webpage. When I a...
I have a bunch of urls that toggle user settings I would like to add some unobtrusive jQuery so the page doesn't have to reload every time. Everything I've found so far deals with forms, where as this is just a URL submit via js. How do I add ajax url submit to the a attribute. Ex: <a class="user_attrs" href="/users/testuser/attr/img...
can I get the correct data/text that is displayed via AJAX using mechanize in ruby? Or is there any other scripting gem that would allow me to do so? ...
I am trying to grab the requested AJAX URL generated by a plugin to use in my callback. My intention is, to say in plain English: If the current requested AJAX URL matches attribute href in a certain selector already available in the page, then do something. $(selector).myplugin({settings},function(){ if (currentAjaxURL == $(anoth...
Hi All... I am working on grails project where I need to apply server side validations. For client side validations I have created basic validation.js file which contains all the javascript functions. Now what should be the ideal way to achieve the server side validation using Ajax, to achieve the validations like Record Duplication c...
I am developing a project which is built in CakePHP and using jQuery in it. I have a script which need to be called by an ajax request. This request do many manipulation in database and takes too much time. Between the execution it is writing its status in a seperate file so i can see the status of script execution. Every time it open ...
Hi there, I've got a quick performance question for my real time news system. This is a community news system, where everybody can post his news, and vote for it, or vote for other news. Every 20secs in jQuery I search in the DB to refresh the 20 last news/votes. But at the moment, I extract every 20sec the last 20 questions, even if ...
1) I have to change images dynamically according to values for every x seconds. I'm using the following function: setInterval(function() { $("#content").load(location.href+" #content>*",""); }, 5000); It works fine for updating the value, but the images not getting updated into its position. 2) From the 1st question i want to k...