ajax

best jQuery AJAX multiple uploader

Any suggestions? Possibly something very interactive that I can multiple-select files. Thanks! ...

Is it possible to populate a SELECT dropdown when clicking on it?

I'd like to have a bunch of SELECT dropdown lists on my page which can be empty initially. When the user clicks on one of them, I want an AJAX call to be made to the server to get the desired list for the chosen dropdown. The results of this AJAX call are then put inside the dropdown and the dropdown then works as normal. Is this possib...

[PHP / AJAX]: Change color of the message according to the entered text.

In my website home page, I have a new user registration Form. It contains a field "User Name". When the user enters the user name and the focus is pointed to another field, an AJAX code is executed that checks whether any user with the entered username already exists or not. The AJAX code that I am using is this: function toggle_userna...

PHP mail() - Email not received

I have set up an AJAX contact form on a client's website. The problem is that the email is not getting through to the client's inbox. I set up the client with Google Apps (in the same way I did for myself). I used the same contact form with my email address and it works. But with any email addresses on their domain it doesn't! All me...

Javascript jquery to contact an API

I'm trying to connect to a webapi at a location that looks like this from inside my js jquery file. example.com/?var=input Is there a simpler way to do it than an ajax call? ...

ASP.NET AJAX "as you type" functionality

Although this is FAQ i still couldn't find a suitable solution. I'd like to filter out a list (rendered with ListView control placed to UpdatePanel) as user types something in TextBox. This blog post describes exactly what i need - raise a postback after a specified number of characters added. But the implementation has a few minor drawb...

Replacing whole HTML content kills HEAD and BODY tags after HTTP Request!

After pressing a button, I'm sending the whole HTML content from a webpage (the part within the <html> tags) to a CGI script which manipulates the content and sends it back. Now I'm trying to replace the existing content with the new one. Unfortunately after assignment, every single <head> or <body> tag (as well as the closing ones) wi...

AJAX loader GIF while asynchronous POST request doesn't work in IE.

Hi folks! I'm trying to show an AJAX loader gif while an asynchronous POST request is performed. Unfortunatelly this works not in Interet Explorer! The Gif is shown, but the request process seems to stop respectivly the changed webcontent will not be shown. On FF, Opera, Safari everything is fine! Any ideas? http_request.onreadystatech...

How can I get Ajax and client side validators working with my ASP.Net 1.1 application in Firefox?

Ok, long story short - I've got an ASP.Net 1.1 website, which uses Validator controls and Ajax (ajax.dll, v5.7.22.2)... All of these elements of the site were chosen/implemented before I got here, and before anybody asks, no, it's not within our budget (timewise) to upgrade even to ASP.Net 2.0, let alone the latest and greatest of everyt...

Jquery post callback function not working

Hi, I'm having trouble getting my callback function to work in post: I've got this in a click function. I've tried both $().click(function(e){..} and $().livequery('click', function(e) {. e.preventDefault(); $.post("test.php", {}, function(data) { alert("bang"); //doesn't register }); alert("bom"); //works fine test.php: echo "bah"...

jQuery UI inside ajax div

i have a site with links that look like this: onClick = ajax('link.html','contentdiv') but i want to use jquery ui tabs inside the contentdiv, i tried even to put all the code inside the html but nothing, i tried: $(document).ready(function() { $("#tabs").tabs({}); and also: $((function() { what should i put in the index.html and ...

jQuery Post failing on production, works on local system

driving me nutso.... I have a .Net 2.0 webservice that takes a string and returns XML. I have an HTML page that uses jQuery a simple $.post command to call the service and process the return. The service is up on the remote site, I can access it via URL and I can test it successfully using SOAP_UI no problem. On my machine everything w...

.NET AutoComplete DropDownList or TextBox on Mobile Web Browser?

Hi Everyone, I'm trying to build an AutoComplete DropDown List that will work on a Mobile Browser (Pocket IE, Opera Mobile, etc.) So for example, if I had one for US States, after typing in 'Ma', I'd expect to see 'Maine', 'Maryland', 'Massacusetts' as selectable options I've been able to build one for a traditional browser with no is...

Jquery JSON Ajax Callback Not Working - Cakephp

I'm trying to write a simple JSON post and the callback alert does not show up no matter what I do. I used firebugs to see if the post was getting any response and "SHOE" returns. So why is the alert not working in the callback? view code: $('#GaragePartAddfrompartlistForm').click(function() { var item = "CHEESE"; $.post(...

Ajax authentication without letting browser pop up login dialog

I am desiging a RESTful Web Service (JBoss + RESTeasy). The UI programmer is writing an Ajax web app that will use it. The web app will be one HTML page with everything done in JavaScript. For security, all traffic goes through SSL. Currently I'm using Basic authentication. The UI programmer can show a dialog to get a username and p...

Asp.Net Axaj.BeginForm & UpdateTargetId not working

Hi, I have this in HomeController: public ActionResult Details(string id) { var customer = Customers.GetCustomersById(id); return PartialView("CustomerDetails", customer); } And this in Index.aspx: <div> <% using (Ajax.BeginForm("Details", new AjaxOptions { UpdateTargetId = "...

how to crowd source my web crawling

Hello, I want to crawl a website anonymously without having to rely on an anonymous proxy server. So I was thinking of letting users of my website help me by inserting an invisible IFrame in my template - the IFrame src would be set to a webpage URL I needed, and then uploaded to my server with AJAX. (I can't use AJAX for the downloadi...

Jquery Post Data

Hi, I need to insert/update data by using link or image I need a code how to call post data using jquery ! < a href="some.asp" onClick="someaction, value to send" > Link Please help ...

jee servlet to create a file and show progress while creating it

I need to write a servlet that will return to the user a csv that holds some statistics. I know how to return just the file, but how can I do it while showing a progress bar of the file creation process? I am having trouble understanding how can I do something ajaxy to show the progress of the file creation, while creating the file at ...

Resuming session with an AJAX call

My app has a session timeout after 30 minutes. If the user has a "permanent login" feature activated, then on a subsequent HTTP request the server reads the "perm session" cookie and restores the session. However, if the user does not reload or navigate to another page after his session expired, but rather clicks on a button that retrie...