[jQuery] Ajax request not working in IE7. Works in IE8,FF3+

2010-01-15 Thread Don
jQuery v1.3.2 I have an ajax calendar that loads when the page loads. To change the month I use ajax to update the month view. On each ajax load I replace the calendar container with: ... Calendar code here ... $calHTML .= ' function call_cal(cal

[jQuery] AJAX request

2009-12-23 Thread Octavian Râşniţă
Hi, I am trying to make a function that does an AJAX request if the user typed at least 3 chars in a text field. I have tried: $(document).ready(function(){ $('#term').keyup(function(){ if ($(this).val().length >= 3) { sendValue($(this).val()); } }); }); If I type at le

[jQuery] jQuery AJAX Request with non-form Data

2009-12-10 Thread raji
Hi jquery users, I'm attempting to use jQuery to make an AJAX request. I'm able to successfully serialize form data from a POST submission and receive it on the server-side. However, I'd like to do something a little different. Rather than submitting form data, I'd like to submit the id from a

[jQuery] jQuery Ajax Request Encoding

2009-10-26 Thread jigs
Hi I am trying to send Hindi अनुयायी characters to my PHP Script. I set request header as ascii, I want that it should store अनुयायी in database. When I am using form and submit it normally, it stores value अनुयायी in database properly for given word. But when I use jquery $.ajax method to post

[jQuery] ajax request hangs IE6

2009-10-13 Thread rasensio
XP IE6 virtual PC for test, latest version of jquery the browser hangs after an ajax request. $.get("/myurl", {random: $.random()}, mycallback); I read that IE6 hangs for some cache searching stuff, that is why I added a randomstring with my $.random() but keeps hanging the browser. anyone wit

[jQuery] Ajax Request Order

2009-10-10 Thread James W
Hello, I have a page that makes two ajax calls when the function is called. I have noticed while testing the page that sometimes the second request does not run, the first request works but then sometimes the second ones gets skipped. Is there a way to make sure the second request fires only aft

[jQuery] ajax request form in one page, is it possible ?

2009-08-29 Thread Danny
Hello, I want to build a form that work on one page only, to subtract the PHP pages for getting the data from all my web forms, I tried to pass the parameters to the same page but it dosent work :( i'll be glad if you can direct me to the solution Thanks

[jQuery] Re: jQuery + Ajax request

2009-07-27 Thread James
IDs in HTML are unique. You cannot have multiple elements with id="removeSearchword". You can use the CLASS attribute instead, or make unique IDs like: id="removeSearchword_1", id="removeSearchword_2", ... and then change your selector to: $("[id^=removeSearchword_]").click(...); On Jul 26, 10:0

[jQuery] jQuery + Ajax request

2009-07-26 Thread Ayah
Hello! Im trying to build a AJAX request with jQuery, the function should work like this. I have a list of words like this. [code] kuken x

[jQuery] [Ajax request]Can a dialog not show an alert message?

2009-03-16 Thread delphilynx
Hi everyone, I have an event that fires up a dialog, this all is working: 1) dialog have two buttons - Save button - Close button 2) when hitting the save button, it creates an Ajax Request, and on the succes event it must fire an alert with the message that comes back from the backend

[jQuery] Ajax request -- passing additional paramters to success method

2009-02-26 Thread P Burrows
Is anyone aware of a way to pass some additional context information to the "success" function of an ajax request? For instance, here is my code which works fine: $.ajax({ type: "GET", dataType: "json", url: tUrl, success: GotNewData, error: GetDataError,

[jQuery] ajax request on local machine and FF3/Firebug "Access to restricted URI denied code: 1012"

2009-01-16 Thread jquertil
this has been discussed before, but I'm still hazy: In FF2 and old Firebug this function ran fine with local files (no local web server, just straight-up file on local desktop). Now Firebug complains "Access to restricted URI denied code: 1012" $.ajax({ type: "POST", url: myFileName,

[jQuery] Ajax request in loop

2008-12-09 Thread vorp
Hi, I try get some results from ajax using while loop, but it doesn't work in IE7 and Safari. Here's example code: function get_results(foo){ return $.ajax({ type: "GET", url: "some_url.php/"+foo, dataType: "json"

[jQuery] ajax request stops rest of code working

2008-12-05 Thread ToonMariner
Hi people I have the following code which works fine independandtly but NOT when used together... here's the code [code] $(document).ready ( function() { $("ul li div.info").hide(); $("ul.profiles li h3").hover ( function() { $(this).css({"cursor":"pointer"})

[jQuery] Ajax Request - Success and Failure Events

2008-10-20 Thread thornhawk
Hi All, I was reading the jQuery help docs (in the Ajax Events section), and I came across this statement: "you can never have both an error and a success callback with a request" Does anyone know why you can't do this? I can think of a number of situations where you would need to cater for bot

[jQuery] Ajax request Error - please help

2008-10-09 Thread debussy007
Hi, In localhost, all of my ajax request work perfectly, but on the prod server, whenever I try to make an ajax request, the following error appear: (This is the code used to display the error: error: function(xhr, status, ex) { var msg = "Error ajax edit profile :\n\n"; msg +=

[jQuery] ajax request with datatype:script

2008-09-22 Thread seo++
I am trying to insert array elements through ajax request, these elements are also arrays or multidimensional arrays. here is an example main script : var list = []; $.ajax({ type: "POST", url: 'http://example.com/ids.js', data: "id=1" ,

[jQuery] Ajax request does not insert data after semi-colon...for CGI script,

2008-08-19 Thread SH
Hi there, I m using latest jQuery 1.2.6 and when I try to use ";" in my input and it does not read values/text after semi-colon. e.g. I enter abcd;xyz in to input box and I do following: var VER = $.trim($("#boxing1").val()); alert(VER); alert shows correct value and when i send it through:

[jQuery] Re: jqmodal and jquery ajax request on the same page problem

2008-07-12 Thread Kassan
I found a solution: ajaxStart is global... But why? I am new to jquery, and really don't understand why $('#contactform').ajaxStart(function() { is not attached to #contactform? Please tell me who needs to update all ajax placeholders during ajax request? Funny... ...And thanks for your help ;)

[jQuery] jqmodal and jquery ajax request on the same page problem

2008-07-11 Thread Kassan
Hi, I use jqmodal window with with ajax content + ajaxText for 'waiting' html, and a dynamic div with form submit: function finishAjax(id, response) { $('#'+id).html(unescape(response)); $('#'+id).fadeIn(); } function SendcForm(){ $('#contactform').ajaxStart(function() { $(this).html("wait..."

[jQuery] jqmodal and jquery ajax request on the same page

2008-07-11 Thread Kassan
I have one jqmodal window with ajax source (and ajaxText 'waiting' message), and one div with form- with ajax onSubmit. When I click on a link to show my modal window, my dynamic div is also updated with its own ajax-'waiting' message. How can I make this two independent? Below is my script for f

[jQuery] AJAX request pending after TCP connection closed

2008-06-06 Thread Greg
Hi everybody! I use jQuery 1.2.6 and I encounter a little issue. I try to do some COMET (server push), here is an overview of my code (simplified) : jQuery.ajax({ type: "POST", url: "request", dataType: "json", data: myJsonData, success: function(data) {

[jQuery] Ajax Request Help

2008-03-04 Thread crazyryan
Hey Could anyone guide me in the right direction on this: I want something like: http://www.retailmenot.com/view/amazon.com The part, 'Did this coupon work for you' I want that, so when yes or no is clicked, the new percentage is brought back. Someone said I need to do: Onclick on worked butt

[jQuery] AJAX Request

2007-12-29 Thread [EMAIL PROTECTED]
Hi. I have just setup a basic site where you click the link and jQuery retrieves the link via ajax. Code as follows: function fetchURL(obj){ var page_address = obj.href; $.ajax{( url: page_address, type: "GET", dataType: "html", error: function(e){

[jQuery] ajax request error

2007-05-30 Thread debussy007
Hi, I am calling an Ajax request to the server (J2ee, Struts Action) to get a number : * alert(date); alert(flight); var html = $.ajax({ url: "ATBAjaxHandler.do", data: "service-name=nb_places_available&dat