ajax

Richfaces + Icefaces Ajax Push

Hello, I have a project using Jboss Seam + Richfaces and I want to use comet (ajax push). I've been reading some stuff and found Icefaces ajax push really interesting. The problem is that I can´t get icefaces and richfaces work together... not sure if I'm configuring it right. Somebody already did this? What are my alternatives using...

Client Templates and Ajax 4.0 And Urls

Client Templating And URL's Title is required Im trying to output <a href="{{ link }}">click me</a> the data in question is spotify:track:0ucyXpQG7xL8ipoyU0Ts3A , once I remove the ":" the link comes through, any ideas on this one? As you can probably guess I'm trying to trigger the spotify protocol handler. ...

jquery ajax response removes the + character

Update: It looks like the problem is when I'm reading the value from the html to begin with. This is the markup: <input name="someval" type="text" value="Receive (+ open)" /> I'm reading the value of someval like this and passing it to the ajax call: $.ajax({ data: 'someval=' + $("input[name=someval]").val(), ...

How does modify jQuery find function to be used in the specified script?

I have many problems when I create some web application that can dynamically load content. Because of script in loaded contain does not know where to be placed in document and how many duplicated object will be loaded in one document. Therefore, I want to create some function for modified find function of jQuery object that will be used...

Are WCF Ajax Calls blocking calls?

We have a simple ASP.Net WCF Ajax enabled webservice which is called via the generated Javascript proxy. The service does a Database Stored Procedure call to return an integer count of records. When the call is invoked from the client (IE8 on Windows 7) and the DB call takes while, I cannot call any other Javascript functions. For exampl...

How to get intermediate response from server ??

Hi all, I am trying to check pop and smtp values entered by user.. I mean i wish to validate that pop and smtp say for example(pop.gmail.com,smtp.gmail.com) which is entered by user is correct or wrong like that.. For that i am sending only one request to server by taking both pop and smtp values entered by user which will do two tasks...

jquery - do [x] after mutiple .load

Once all three loads are complete... $("#sidebar a").live("click", function(e){ $(this).addClass("selected loading"); $("#conceptual").load(conceptualUrl, null, function(){ $(this).removeClass('loading').show("fast"); }); $("#development").load(developmentUrl, null, function(){ $(this).removeClass('loading').show("fast"); ...

File Upload via AJAX within JQuery

Hello All, I am new to JQuery AJAX . I want to implement a file upload using a jquery. Will it be possible to make a fileupload with JQuery,AJAX and send it to Servlet which can use apache file commons to upload the file. Can anyone please advice me how to proceed further? Thanks, Deepthi. ...

JS functions not working while loading html using Ajax

When I load an asp file (Main_Page_1.asp), in the click event of a button there is a function invocation is not working. There is I am stuck in. for eg:- Main_Page_1.asp <head><script type="text/javascript" src="JsFile.js"></script> <script type="text/javascript"> function buttonClicked () { var xmlHttp; try { xmlHttp=new X...

Voice Recording with ASP.NET

How can I record voice from an ASP.NET application and upload to server? Is it possible with APS.NET AJAX? ...

Is it possible to upload image to server without submitting the form?

I have a file field in my form. I want the user to be able to choose an image, press OK, and then without submitting the form, preview the image in a smaller resized way. If everything is to the satisfactory of the user, then hit submit and the image as well as the form is submitted... How would you good professionals do this basically...

Using JQuery AJAX calls in SharePoint

I've got a custom new item form which I'm using in SharePoint 2007. What I want to happen is that once the user has entered an asset id and they leave the field, an ajax query checks to see if that asset id is available. I've used the following code successfully on a normal .NET web applicaiton, however when using the same code in Share...

Reloading Content of Ajax Tab

I'm completely puzzled, I make an ajax call inside a Jquery UI Tab, after that I want to refresh the content of the tab, the function that should be doing it is: function reloadTab(){ var $tabs = $('#tabs').tabs(); var selected = $tabs.tabs('option', 'selected'); $tabs.tabs('load', selected); return false; } Incredible but true it do...

How can I use JSON and Perl (HTML::Mason) to create dynamic web page with AJAX?

Hi everyone, I'm some kind of lost with the way i have to deal with Javascript, JSON and Perl and most of the examples are in PHP which is not helpfull for me. I have a page (called main.html) where i have a with data from MySQL and i have an option to delete a row by id. Then i have the Javascript sending the id to page apagar.html ...

Browser takes long time to render html controls asp.net

I have an aspx page showing lots of information in a tabular format on ajax tab container. Approximately 3 to 5 tabs are used. I have used some of AJAX controls such as CalendarExtendar, ValidationCallout etc on page. My problem is that the page is loaded fast but the browser takes long time for rendering the controls. On my local system...

What is the best choice for making AJAX calls to a WCF service?

The Microsoft AJAX Library Preview 6 and jQuery provide several ways to make the sorts of calls I need: Sys.Net.WebRequest (ASP.NET Ajax) Sys.Net.WebServiceProxy (ASP.NET Ajax) $.ajax (jQuery) Sys.Net.WebRequest offers a way to specify the verb ("GET", "POST", "PUT", and "DELETE"), but no built-in callback for a failed request (they ...

How to update some part of the webpage?

I would like to update (change the content) some part of the webpage without updating the whole page (without refreshing the page). Of course first thing you would write as an answer will be "Ajax!!!", but I know that search engines will not be able to get the content of that part if I do with Ajax. So is there any method or workaround ...

jQuery ajax() call occasionally results in error with XmlHttpRequest response status of 0

One of the pages in our web application polls the server approximately every 10 seconds for new data, using jQuery's ajax() method. We normally have a few hundred users viewing this page simultaneously, so our server receives several requests per second. The load is not any sort of problem. For some small percentage of our visitors, the...

Accordion events not launching in ASCX

have an AjaxControlToolkit Accordion control included in a custom UserControl. I'm binding it to a datasource and on the itemDataBound I register a few controls as AsyncPostbacks. Somehow, from an ascx control the event on the itemcommand of my UserControl is never launched although there's no problem when I include this userControl di...

Client Scritp and get call back event reference.

Can anyone help me to describe me following code line by line. protected override void OnPreRender(EventArgs e) { String eventRef = Page.ClientScript.GetCallbackEventReference(this, "", "", ""); // Register include file String includeScript = Page.ResolveClientUrl("~/ClientScripts/AjaxValidat...