ajax

Google Books API - Getting Book Ratings?

I cannot find a way to get a Book's Ratings through the Books API provided by Google. All I figured out is how to obtain search listings, which do not include ratings and description. Help would be very much appreciated. ...

Simply jQuery $.get call to twitter failing

I'm trying to write my first ever bit of AJAX, reading the public tmeline from Twitter. I have the following bits of code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Javascript Twitter ...

ASP.NET 3.5 Ajax JSON Serialization...

I have a website that works perfectly under built-for specification but with the increased use of SIM card dongles I’ve (I won’t be the first to be pulling his hair out over this) encountered a site-killing issue... (ok ok ok... a days’ work perhaps) When the mobile provider gets a request for a file it's passed through a very clever ap...

asp.net mvc JavaScript in View User Controls rendered through regular browser request and AJAX request

I have this code in some of my ASCX files: <%=Html.ActionLink(Resources.Localize.Routes_WidgetsEdit, "Edit", "Widget", new { contentType = Model.ContentType, widgetSlug = Model.Slug, modal=true}, new { rel = "shadowbox;height=600;width=700", title = Resources.Localize.Routes_WidgetsEdit, @class = "editWidget" })%> Take note of ...

ajax call to servlet puzzler

Greetings! I'm having a problem getting a text value of a captcha from a servlet through ajax call. When my captcha gets created, its text value is written to session, but after refreshing the image itself though ajax call, I only get one old value of the text. Refreshing the image itself works ok, but I'm stuck getting the correct v...

jquery file tree browser and django

hello, anybody knows a tutorial on using jquery file tree browser on django. i followed this tutorial http://abeautifulsite.net/2008/03/jquery-file-tree/ but i cant make it work, im confused with this code block: $(document).ready( function() { $('#explorer').fileTree({ root: '/windows/', script...

Why "space" is not supported in the ajax post method?

hi , Below is my html <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> <script type="text/javascript"> function Data_Check() { var xmlHttp; try { xmlHttp=new XMLHttpRequest(); } catch (e) { try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); ...

Using C++/Qt4 application as backend for web application

Hello, for one of my applications I'd like to provide a minimal web interface. This core application is written in C++ and uses Qt4 as a framework. Since I'm also using some libraries I wrote to calculate some things and do some complex data management, I'd like to use this existing code as a backend to the web interface. Idea 1: Using...

ExtJS/jQuery Script to check username and email availability

I am trying to write a script to check the availability of the passed username and email address, using ExtJs or JQuery; and Coldfusion 9 as server language. I have written one script but it's not working as intented. Thanks Vicente ...

AJAX Inline Editing: Add PHP Update to new changes

I’m working on a homepage and will use an AJAX inline editing script for the admin to make it as simple as possible. The script I’ve been using is this and it has almost everything I wanted from an inline editing script. My problem arises when I’m going to capture the new changes and send them to a PHP function which will update my datab...

Asynchronous ASP.NET Server Output

Question: I have a web interface where a user can upload an XML file, which then gets imported into a SQL database. Import works fine, interface works fine, logfile works fine. The problem: The user doesn't get any progress report until the entire file has been processed... Is there any way the server can output logfile messages to th...

jquery remove last created element

I need some help with removing some elements from my page with jQuery, currently I have PHP loop that builds links, <?php $findMore = array(); $i = 0; foreach ($backgrounds as $row) : ?> <a id="<?=$i;?>" class="findOutMore" href="<?=$row['backgroundAddress']; ?>">Find Out More</a> <?php $i++; endforeach; ?> ...

Best practice for loading a lot of DropDownLists in asp.net MVC 2

Hi, I have many pages with many dropdowns in them and I am wondering whats the best practice for filling all those dropdowns in an MVC 2.0 app, am thinking of creating a template for all because I wanna use special script on each one, but what about using ajax to initially load the dropdownlist items values. maybe through creating a co...

Can headers be sent in an AJAX request?

Can I call the server to set a new cookie with an AJAX request (that is, after the page has already loaded)? For example, when a visitor hits a link, ajax would open a php file that sets a new cookie like this: setcookie('cookiename', 'true', time()+3000, "/",'...'); But this is done after the html (the page containing the actual <a>...

Render HTML to a Div (jQuery/ColdFusion/Ajax)

I would like to create views, similar to MVC, whereas I can plug HTML into a DIV shadow box that is not originally loaded with the page. The site would need to retrieve the markup via an ajax call upon request. I can invision it being possible retrieving direct html from a data source, but I would like to design the site to be able to c...

Using Visual Studio 2010 for AJAX?

I'm doing a short AJAX project, and I'd like to use Visual Studio 2010. It's just xHTML and JavaScript, with calls to a serverside .php file. What is the best way to set up a project/solution for this in VS? I see a lot of project templates having to do with ASP.NET. Also, when I choose to Add New Item, I get "Ajax Client Control", "Aj...

Webservice 401 error with asp.net ajax cascading drop down

Hi, Ive got a set of cascading drop downs on my page which is accessed via the HTTPS protocol. In the properties of my website the cascarding dropdowns reference the webservice like this: /services/webservicename.asmx When I use my site I go to the url e.g. https://www.sitename.com/adddata.aspx Using Firebug I can see that the page...

Ajax actionlink on page load

Basically Im building an ASP.NET MVC Application. I have a search page. Its searches for results from a number of different sources. To aid in the speed of page load I decided to load the results from one source first then to dynamically load more results as it finishes searching other sources. So far I have the first set of results re...

How to call Struts1 Action from Ajax or JavaScript?

...

jQuery, getting a value with a single class and multiple links

Here's the issue I'm running into. I have a list of names, if a name is clicked on, I need jQuery to pass the variable to another page. This is what I have, but of course it only pulls the first name. $('.nameLink').live('click', function() { var coachName = $('.coachName').val(); $('#grayBorder').load('/team.php?coachName='+...