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
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
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
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
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
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
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
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
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
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
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,
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,
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"
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"})
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
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 +=
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" ,
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:
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 ;)
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..."
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
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)
{
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
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){
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
25 matches
Mail list logo