ajax

TreeLoader: Not firing ajax request for child nodes?

Ok so, i have this site that i am putting together in the play framework. It basically connects to an FTP site on the back end, retrieves a list of folders/files and sends that to a basic ExtJS front-end as JSON. I have it working so that the Tree Panel gets populated correctly, but it doesn't seem to be doing anything special when i e...

saving state in url on ajaxed page

I need to implement a page with both search form with a search button and grid that displays results ( sortable and pagable ). Lets call this page the summary page. Whole page needs to be ajaxified so it won't reload itself when user is searching or paging or sorting the results. I've got two questions : 1) what is the best way to sav...

How to create a virtual scroller?

I want to create a table to grid some data. The table can list a lot of data (100K+ rows). So what I want to do is show like 20 rows at a time with maybe a 100 row buffer. As the user scrolls down on the grid, it loads in the extra rows via ajax? I have seen this done but I don't really know how that can be achieved? ...

Asking data in AJAX

hello.. i tried these two codes but it is not functioning.. i only want to ask for the data output from another domain from http://vrynxzent.info/hello.php first code $.post("http://vrynxzent.info/hello.php",function(e){ alert(e); }); second code alert(askData()); function askData() { var strUrlList = "http://vrynxzent.info/hel...

Nested ajax calls not working in IE7

Hi all, I have nested ajax calls that are not working in ie7. They work fine in Firefox. The service file in the second $.post is not being entered at all. In other words, if the first line of my service file is print 'hello'; I never see it...even if I add a console.log in the $.post for the response. I have seen this issue in other pla...

Comet-style messaging: How to implement server part without polling?

I'm planning a chat-like web application, where whenever one user posts something, all other users (that is, people with their browser pointing to that site) would get instant updates. The common choice for this is comet-style messaging using long-polling AJAX requests. Writing the client-side part with jQuery isn't much of a problem. ...

wicket - Implement Ajax add/remove items ListView

Hi! Im getting crazy about this issue. I implemented a ListView which you can add/remove TextField dinamically, but only the last TextField is removed. An example: // Object type which is used in the list public class ExampleObject implements Serializable{ private String keyword; public String getKeyword() { return t...

AJAX: Send and retrieve a value with jquery post() and PHP, WordPress

Hi, I'm trying to make the following happen in a WordPress page: User clicks on a "sort posts by" button Value from the button is sent to sortFilter.php page Current page is refreshed and uses the value posted in sortFilter.php to create a new loop. On the initial page there is a tag that I want to load the data into: <p id="sortF...

Ajax Server Side and Client Side confusion clarification needed

Hello all, Let's imagine an autocomplete widget scenario that grabs it's data from a database. Let's assume that we have to: Grab the contents from DB1 to be displayed once the user clicks the input field. Then, After the user makes it's choice, we need to: Query the database DB1 for additional data concerning that selection made by...

Problem with Curl fetching Ajax Data

I'm trying to get the "Added contacts" on this page: The data is injected with an Ajax call, and I used Wireshark to capture the call which I think gets the data: POST /dwr/call/plaincall/UserActionAPI.getRecentlyTitleChangedContacts.dwr HTTP/1.1 This posts a bunch of variables and a cookie, and so I made a curl call with the followin...

Making AJAX Applications Crawlable? How to build a simple web service on Google App Engine to produce HTML Snapshots?

Real World Problem: I have my app hosted on Heroku, who (to my knowledge) are unable to offer a solution for running a Headless (GUI-less) Browser - such as HTMLUnit - for generating HTML Snapshots for Googlebot to index my AJAX content. My Proposed Solution: If you haven't already, I suggest reading Google's Full Specification for M...

ListItems are not accessible by Jquery ajax call

hi I need to retrieve values of sharepoint list with jquery I invoke jquery:ajax call for following type of site http://localhost:port/site/devsite/_vti_bin/list.asmx in Processaresult function I dont get any rows but list is having two rows I checked the webservice by adding web reference then i got the error. Document type is n...

What AJAX picture browser and deleter plugin should I use?

The plugin should allow browse and delete picture in one file folder. Thanks. ...

JSON String Parsing with .ajax()

Hello, I hope this isn't too confusing, but i think it's fairly basic. I am trying to pre-populate some data into a form, which was previously entered into a form and then populates the form again on a future date (like a save feature) So when the user SAVES the form, it inputs into the Database JSON data of the entire form fields an...

Simulate an AJAX call in PHP for unit-testing

Background: I am attempting to do a couple of unit tests on AJAX requests which would call PHP functions on the server-side. As this involves database manipulation, I have decided to check the return of the calls using unit tests in PHP. Given the URL of an AJAX request, how do I call it and gets its response? *Added question:*If the ...

jQuery load and SEO

Hi guys, I'm developing a web app which use jQuery's ajax load function to load content from an XML file. Is it true that web crawlers don't execute JavaScript when crawling, and if so, how can I combat this? ...

yui_editor not loaded when loading the partial via an ajax call

Hi In a Rails app, I am loading a partial via an ajax call. (still using prototype) The partial is a form that contains a textarea enriched with the yahoo yui_editor (similar to tinyMCE or FCKEditor) <%= f.text_area :body, :class => 'rich_text_editor', :rows => "15", :style => "width : 90%;" %> The yui_editor is not loaded and the...

How can I perform partial reloading within a Tobago Sheet? (Java)

I am using JSF MyFaces 1.1 and Tobago 1.0.27. Now I would like to create a sheet with partial reloading. I know that I need to know the ID of the specific control within my sheet, which has to be reloaded if for example a button is clicked. The problem is, that this ID contains the row number of the current row within the sheet. How can ...

jquery ajax method being repeated even though click event not correct

Hi There, I have some ajax on my web page, that is triggered via a click event, the javascript in question looks like this, $('.career_select .selectitems').click(function(){ var selectedCareer = $(this).attr('id'); $.ajax({ type: 'POST', url: '/roadmap/step_two', data: 'career_choic...

Telerik. RadScriptManager issue at RadWindow.

Hello, i show RadWindow from parent form: <telerik:RadTreeView ID="tvFile" runat="server"> OnClientContextMenuItemClicking="onClientContextMenuItemClicking"> <ContextMenus> <telerik:RadTreeViewContextMenu ID="MainContextMenu" runat="server"> <Items> <telerik:RadMenuItem Value="Rights" Text="Rights"/> ...