Hi , i just came across this ajax upload
pluginhttp://valums.com/ajax-upload/comment-page-9/#comment-2756and
i wish to use it inside a form as shown in the demo
page http://valums.com/wp-content/uploads/ajax-upload/demo-jquery.htm#example
3. For some reason i am not able to make it work. I am not
Hi,
I'm pretty new to jquery and wanted to know how can I have a different ajax
spinner/loader or maybe a dynamic one, that could accept a message as a
parameter when it displays. I think one spinner that can accept a message
as a parameter may be the best approach though now that I think of
Hi,
I have the following servlet that returns:
response.setContentType(text/plain;charset=UTF-8);
out.write({\XXX\:1});
...
My Html is
$(document).ready(function(){
$.getJSON(http://localhost:8080/getData;,
function(json){
alert(getJSON Server Data-+json);
});
in context:
http://old.nabble.com/JQuery-Ajax-serialize-tp27288727s27240p27288727.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
I am very (very) used to PHP but just trying to grips with JQuery/Ajax and
this is a very simple problem that I cannot find an easy - understandable
answer to especially one that works - strange I know. My experience is that
all answers to this question - on another site - are too complex
On Tue, Jan 19, 2010 at 11:06 AM, parot russ...@parotkefalonia.com wrote:
What I cannot do and I do not seem to get a sensible, easy to follow and
understandable answer from knowledgeable JQuery people is find out how to
pass the valiable trythis to the page tryit.php and then return the
must misunderstand you...
var trythis = 57;
$.get(tryit.php, { trythis: trythis }, function(data) {
$(#resultsGoHere).html(data); });
Nathan
--
View this message in context:
http://old.nabble.com/Simplae-JQuery-Ajax-question---GET-variables-tp27229104s27240p27229508.html
Sent from
On Tue, Jan 19, 2010 at 11:32 AM, parot russ...@parotkefalonia.com wrote:
Very near, but it is more basic than that - how do I get the variable
?trythis=changable value into var trythis=;
Maybe a sequence diagram would be helpful. Here's what I hear you asking:
-AF8KOiA1NwBrDQCBDgkACQ8AexUic29tZXRoaW5nIGVsc2UiAExSAFERAIEXFQB3EQs=default
Could you modify that to better explain what you mean, maybe?
Nathan
--
View this message in context:
http://old.nabble.com/Simplae-JQuery-Ajax-question---GET-variables-tp27229104s27240p27231466.html
Sent from the jQuery
On Tue, Jan 19, 2010 at 1:45 PM, parot russ...@parotkefalonia.com wrote:
I want to scroll back and forward through the months on a calendar without
refreshing the page. I have the php calendar, but I don't want any page
refresh which I can do with PHP and just send the GET to the page. so
:
http://old.nabble.com/Simplae-JQuery-Ajax-question---GET-variables-tp27229104s27240p27232199.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
On Tue, Jan 19, 2010 at 2:29 PM, parot russ...@parotkefalonia.com wrote:
so you could have something like
$(button#prevMonth).click(function() {
loadMonth(--currentMonth),loadYear(--currentYear); });
Well, to handle year and month you'll want something like:
var currentMonth = 1;
var
(--currentMonth);
});
$(button#nextMonth).click(function() { loadMonth(++currentMonth);
});
});
/script
--
View this message in context:
http://old.nabble.com/Simplae-JQuery-Ajax-question---GET-variables-tp27229104s27240p27232554.html
Sent from the jQuery General Discussion mailing list
(++currentMonth);
});
});
/script
--
View this message in context:
http://old.nabble.com/Simplae-JQuery-Ajax-question---GET-variables-tp27229104s27240p27233076.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Hallo all.
I ran into a performance problem with Internet Explorer.
I got an homepage similar to iGoogle that makes a lot of ajax calls to
populate different kinds of widget (from 5 to 20).
When the widgets are loaded on Internet Explorer the user interaction
is freezed and until the loading is
Can't seem to get any response from an ajax call which response is 400
Bad Request
$.ajax({
url: url
type: GET,
dataType: json,
success: aj.dataLoaded,
error: function() {
alert(error);
On Mon, Jan 18, 2010 at 11:05 AM, anton anton.johans...@gmail.com wrote:
Can't seem to get any response from an ajax call which response is 400
Bad Request
$.ajax({
url: url
type: GET,
dataType: json,
success: aj.dataLoaded,
On Mon, Jan 18, 2010 at 11:05 AM, anton anton.johans...@gmail.com wrote:
Can't seem to get any response from an ajax call which response is 400
Bad Request
$.ajax({
url: url
type: GET,
Hey, is that missing comma after url a typo?
Nathan
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 .= 'script type=text/javascript
Hi all, just stumbled across the serialize() method in jQuery..
previously I've been building the data string myself.
However, I seem to be unable to use it right. I have a pretty basic
form set up, and I'm not sure why it's not working.. figure this is a
quick fix and you guys would be able to
value.
Now my question is, which is the default timeout jQuery AJAX calls are
using if you don't specify any timeout?
Thanks ins advanced.
I need some help with a form.
I submit the form fine, my problem is depending on the success or failure of
the form being saved. I will try to explain as simple as possible
form is in its own div form here .
div target saved data will appear here/div
So what I need is i guess json
I was curious if there was a way to hit the current xhr object in the
success callback. I've been tinkering with it, and have been unable
to figure out how to do that.
The reason I ask is because I am trying to debug an application I've
been working on, and sometimes the response XML is not
I was curious if there was a way to hit the current xhr object in the
success callback. I've been tinkering with it, and have been unable
to figure out how to do that.
No, but you can access the xhr in the 'complete' callback.
ok so I figured out that you can put in image in your page using .load
(imageloader.php) but is there a way to load an image using regular
ajax call .
alittle more explanation of what I'm trying to do
in my php I use imagejpeg function which outputs the image using gd
great!
and in my html i
Hello all! I have what I think is a complicated gallery to build.
Being new to JS I was told that jQuery is the place to start. I'm
hoping this is possible... Well, I realize that most things are
possible with enough time and effort. But, what I really need to know
is if I can build something like
Hello everyone,
I have a problem submitting a form tag with submit buttons. many of
the scripts used in that page require the name of these submit buttons
to work correctly. I already read about the serialize function and
submit buttons so tried the form plugin as suggested on the jQuery
page but
Please give us a demo page or code which can help us debug the problem.
Thanks Regards,
Dhruva Sagar.
On Thu, Jan 7, 2010 at 12:36 PM, Alex alex.kasu...@googlemail.com wrote:
Hello everyone,
I have a problem submitting a form tag with submit buttons. many of
the scripts used in that
All of your forms must have an event handler associated with their onSubmit
event. These event handlers need to do their AJAX stuff, and then stop the
browser from doing the default action by returning false. Since you are
creating these forms AFTER the page has already loaded, you need to
I apologize if this is already answered somewhere, as I could not find
it...
If the client is constantly calling ajax objects and those objects are
bringing with them additional jQuery scripts, how does jQuery handle
the removal and handling of objects that go away, because they are
replace by a
The following code gives a a parser error in Google Chrome and
Firefox but seems to work in Safari. Can anyone see what I am doing
wrong or understand why this is happening? Thanks for your help and
time.
html
header
script src=js/jquery-1.3.2.min.js type=application/x-javascript
On Sat, Jan 2, 2010 at 1:13 AM, bookmarc mmelc...@gmail.com wrote:
The following code gives a a parser error in Google Chrome and
Firefox but seems to work in Safari. Can anyone see what I am doing
wrong or understand why this is happening?
I see a couple things that make me wonder:
header
Hi,
Can anyone explain me what does success function arguments
contain..for ajax jquery..
I read the following in the documentation
success - Function
A function to be called if the request succeeds. The function gets
passed two arguments: The data returned from the server, formatted
according to
Hi, i've got a little problem and i need your help please :
my script does :
1- post a value in notes.php to update values according to what is
send.
2- reload the script which calls an flash chart to update it
the problem is :
the datas are correctly updated in /notes.php when calling again
lots of possibilities here...a link would help.
1) are the correct values being sent in post? Firebug can be very
helpful for determining this using the "Show XMLHttpRequests" option.
2)getScript may be getting called prior to notes.php having finished
processing (AJAX is asynchronous),
assume that the variable is a simple string, and not
something complicated as an array. Let's also assume that the output
of the PHP script, is plain xHTML and the jQuery Ajax will insert it
into a div or span id=results.
Can someone provide an idiots guide to this, and also some code?
Thank you
.php?variable=value
Now let's assume that the variable is a simple string, and not
something complicated as an array. Let's also assume that the output
of the PHP script, is plain xHTML and the jQuery Ajax will insert it
into a div or span id="results".
Can someone provide an idiots guide
Hi,
I want to build a simple jquery-powered web application and I was
hoping I could get some advice.
The app:
1. User submits form data to server side script.
2. Server side script generates a CSS page and an HTML page.
Note: the HTML will just be a bunch of divs.
3. jquery ajax loads
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
i am afraid you have no way to parse the Content-Type in your
javascript. because it the the header of the response, and you can
only get the body (the content) of the response.
actually, for a ajax to be able to work correctly, you MUST guarantee
the request you send with ajax can get what you
i am trying to submit a form using jquery and ajax. The form gets
submitted without going to the url through ajax and values are entered
successfully in DB if all entries are correct and validated. also it
does not updated the DB if any errors.
here is the javascript
-en@googlegroups.com
Date: 12/17/2009 08:15 AM
Subject:[jQuery] ajax
good day guys!
i have next code in my js-script:
$.ajax({
url: 'http://localhost:9090/api?callback=?_=?',
type: 'post',
dataType: 'json',
data: {sites :$.toJSON(in_res),
out_res_http:
Hi,
Firstly, let me apologize if this has been discussed before. I have
searched the group and couldn't find anything on the subject.
Now, to my question. Am I correct to assume that the jQuery.ajax
function pays no heed to the Content-Type response header it receives
from the server? If so, can
Hi!
I have a question regarding ajax.
In my script i have a lot of css rules set with jquery. And when i use
the .load ajax function the page gets loaded but the css rules from
the script doesnt, or the script does not get loaded, so i have to
refresh the page. Is there a way to get the script
Hi all,
I'm trying to implement a way to execute a jquery function (i created)
only when an AJAX POST request has status of complete. The AJAX
itself is out of my reach (controlled by the application) but I want
to be able to listen to the event.
If I'm not mistaken, the AJAX in jQuery mainly
page that gets loaded doesn't include head
have you tried $.getScript? or you can insert script in body of page
being loaded
http://docs.jquery.com/Ajax/jQuery.getScript#urlcallback
Jojje wrote:
Hi!
I have a question regarding ajax.
In my script i have a lot of css rules set with
when in doubt the jQuery docs are your best friend
copy/paste straight from Ajax examples:
$.ajax({
type: "POST",
url: "some.php",
data: "name=Johnlocation=Boston",
success: function(msg){
alert( "Data Saved: " + msg );
}
});
success callbacks fire when return data is
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
I'm trying to get jQuery to asynchronously load my recaptcha module,
but it doesn't seem to like the fact that echo recaptcha_get_html
($publickey); spits out a mixture of HMTL and Javascript.
Here's the code I am trying:
script
$.ajax({
url: inc/captcha.php,
Good day,
When executing an ajax request, i've noticed the following problems :
- the textStatus callback parameter is always set to success ;
- the callback isn't triggered if a download error occurs (404 for
example).
I understand that the second problem might be unsolvable but is there
any
Hi people,
I'm trying to make an ajax request, hoping for a clean json response
to come up. Firefox, as usual, behaves like a charm, but when it comes
to IE 6 and 7, it's the error function that's fired.
$.ajax({
url: action,
data: data,
Hi!
I can't get the if-modified-since header to work with jquery ajax.
I tried to fet an xml like this:
$.get(url, function(xml){
//Do something with response.
}, xml);
On these requests the if-modified-since is not set.
Then I tried like this:
$.ajax({
type
I'm using jQuery to do an ajax post on the key up event of a text
input box (ajax search). As the user types a jQuery ajax post is made
and a delimited string is returned (ex. 12345|Event Name#*#23456|
Event Name) with all of the search results. Each result is then split
into individual results
We need to see something closer to a real-life example. There's a bit too
much missing in the code you posted.
In particular, what does the page look like when it actually has more than
one row from your DB in it? I can't tell which part of your HTML would be
repeated per row. What is the exact
Hi Guys’
I have hit a complete brick wall on this one.
I have an ASP page that lists out a DB into 3 columns. Each row has a
unique ID number. When the user updates a checkbox I would like to
fire off an AJAX update to my DB.
I have made the page that’s ready to receive the unique ID Number
When I specify a low timeout firebug's console shows the ajax request
as never ending -- is this just a problem with firebug or something
more serious? The callbacks (complete, error, etc.) all work
correctly...
.ajax({ ... timeout: 50 ... }) = causes the request to never stop in
the firebug
ul
li id=1/li
li id=2/li
li id=3/li
/ul
$(function() {
$('li').each(function() {
var $id = $(this).attr('id');
$.post('getImg.php', {id: $id}, function($data) {
// How to do it?
});
});
});
I want to let each
I'm not sure if you're trying to send back the image or just the src
but, either way:
$(function() {
$('li').each(function() {
var self = this;
$.post('getImg.php', {id: $(self).attr('id')}, function($data) {
// ${self} refers to the li
Hi Guys,
Need some help on $.get or $.ajax, I have the following code that will send
request to server then get either JSON or XML data back, but it seems only
working in IE8, not working in Firefox 3.5,
In IE8, it returns:
data: [object Object]
textStatus: success
something: undefined
in
If you would post a link to a test page, I'm sure someone can tell you
what's wrong.
Without that, we have to start playing 20 Questions. :-)
First questions:
1) What is the response from the server in both cases?
2) Install Fiddler2 [*] and have it log the session. What does it show?
-Mike
Hi Michael,
It is one of our internal server here, and don't think you will have access
to it, see the message it returns when I use $.ajax
in IE8, it returns:
data: [object Object]
textStatus: success
something: undefined
in Firefox 3.5 it returns:
XMLHttpRequest: [object XMLHttpRequest]
You can do this with blockUI if what you're planning to display is
reasonably succinct. When you have the database results in your ajax
callback, assuming it is HTML, you can do something like this:
$.get(someUrl, function(data) {
var html = 'div' + data + '/divbuttonOK/button';
While searching around I have seen plenty of examples where people
query a database and use BlockUI to put up a wait message. When the
ajax completes, unblock and display the results. I'm trying to do
something a little different. I would like to query a database and use
the results as the message
I'm not sure why you would use BlockUI for this purpose... seems more
like a tooltip plugin is needed that can handle HTML
On Nov 23, 3:10 pm, Troy Sartain sartain.t...@gmail.com wrote:
While searching around I have seen plenty of examples where people
query a database and use BlockUI to put
Hi,
I'm using the following code on the client side:
$.ajax({
dataType : 'json',
// other options
success : function(json_response) {
console.log(typeof response, response); // Using Firefox's
firebug
}
});
And this PHP code on the server side:
?php
You would normally expect that to work.
What content-type is your server putting in the header for the JSON data?
That could be throwing it off.
Also note that a bare primitive value (true, false, null, or a string or
number) is not valid JSON. The only valid JSON is either an object enclosed
in
Hallo all.
I have a problem downloading a file via ajax.
I contact via ajax a server-side component (i.e. Servlet) that creates
a pdf and attach it to the response.
When I receive the response I cannot pass the control to the browser.
Any idea hot to make it?
Kind regards
Massimo
Hi Serhat,
Thanks for the reply.
Well, I've gone through the code and I'm using just the same code. I
went through the code again and again but it wasn't working.
Afterwards, I decided to test it on different browsers and it worked
in IE 8, but it didn't work in FF 3.5, Chrome.
Here is the
Hi, I have an HTML page which uses AJAX to load in information from
Yahoo finance via CSV files and one AJAX call that calls a PHP file
and performes some screen scraping.
The problem: When these AJAX calls are performing their task it
becomes impossible to click any links on the page. It freezes
Currently I go through a number of elements using the each function
and for each element I do an ajax call, the result of each ajax call
should then replace the content of the corresponding element. When I
started working on it, it sounded ridiculously easy, however I am
unable to identify which
Hey,
Have you thought about setting a key,value pair in your JSON being returned
corrasponding too the url= + escape($
(this).attr(id) that your passing in, then on the callback just use
$(#+myJson[:id]) or something like that? just a thought.
GreatS wrote:
Currently I go through a number of
I have a page that uses a jquery $.get() method to retrieve content
from a remote page.
Ex
$(function(){
$.get(http://domain.com/script.axd,{parameter1: value1,
parameter2: value2}, function(responseText){
alert(responseText);
});
});
The above script returns a null or empty string
It works for me, the code is:
$.get('ajax_try.php',{data1: 'data1-text', data2: 'data2-text'},
function(ajax_response){
if(ajax_response=='ok'){
document.myForm.submit();
}else{
I don't know if anyone else has seen this. But if anyone has and
knows a fix for it it would be great.
I am using the jquery ajax library to do a timed update (once per
minute). I am using POST against and asmx web service.
Intermittently jquery will return an error with the requested data
Hi,
I have a problem with an AJAX call. It's a long time since a got it. I
don't know how to deal with it. I have made tests and I don't know why
it's happening.
I have a post AJAX call. Just like next one:
$.post(MY_SCRIPT, { db_id: selected_data},
function(data){
Not a good title, but I'll explain little bit better here:
I got help here for another issue which was solved:
http://groups.google.com/group/jquery-en/browse_thread/thread/e9a2cfa80ec18c4c/33923a0f4ffc5729#33923a0f4ffc5729
So basically in one row there are 3 input fields, and writing to
palgo ha scritto:
My problem is that while the calculation works on the first to default
rows, calculation doesn't seem to work on rows that I added by
clicking on add row-button.
Anyone know why is happening?
Do you use the live functionality also for the keyup event that will
fire the
Can anyone look at this page and tell me what im doing wrong?
I have the form working in all browsers except IE6, and IE7
html head (just in case of js conflicts):
script src=../js/script.js type=text/javascript
language=javascript/script
script src=../js/SpryAssets/SpryTabbedPanels.js
I have a question about drop down options with html/jscript/Asp.net
and ajax/jquery/. When the user populates the form and submits, the
output is written to memory and sent to an email address. What I have
noticed is that the output is only showing the value and not the text
like so:
Main
On Nov 11, 1:56 pm, Rathric rstann...@gmail.com wrote:
I have a question about drop down options with html/jscript/Asp.net
and ajax/jquery/. When the user populates the form and submits, the
output is written to memory and sent to an email address. What I have
noticed is that the output is
In prototype, I can find out how many AJAX requests have been made to
the server but no response has yet been received by looking at:
Ajax.activeRequestCount
Is there a similar feature in jQuery? I realise I could make something
myself by listening for the Ajax beforeSend and complete events,
Hello,
I would like to add css through jquery to make a loading gif appear.
Say in the css stylesheet itself, #vv is set without a width, so I was
hoping to put a width on the css loading gif background image in
jquery to make it appear. If this is not possible to do in jquery,
then a style:non
Why not just use something like this:
http://plugins.jquery.com/project/loading
On Tue, Nov 10, 2009 at 5:37 AM, artesianwells joshua...@gmail.com wrote:
Hello,
I would like to add css through jquery to make a loading gif appear.
Say in the css stylesheet itself, #vv is set without a width,
Nobody knows how to solve this issue? maybe this is the wrong mailing list?
On Sun, Nov 8, 2009 at 8:28 PM, cavanshir cavanshi...@gmail.com wrote:
Hello,
I have page with buttons and links. I wrote a jQuery code that adds
new css classes to images under clicked links. Also I have an Ajax
I'm guessing you're giving behaviour to your links like this :
$('#any .old_path a').click(...);
So, you're giving it to any link that are present in the dom at the place
you want when you're executing the former code.
Then you're adding elements to the dom with an ajax call. These elements
Hello,
I have page with buttons and links. I wrote a jQuery code that adds
new css classes to images under clicked links. Also I have an Ajax
request, which replaces buttons with identical ones, but with
different content. After ajax executes, the jQuery code does not add
new classes to images
Hi,
I need transfer from resultados.php two values, to next check and run something.
Example code:
Code run when i clicked in button of form
var sData = 'name' + gerardo + 'password' + '123';
$.ajax({
type: POST,
url: '../resultados.php',
data: sData,
success: function(values){
I am sending a form via Ajax and have that part working fine.
Now my issue is if I use validate before sending I have to write the exact
validation rues that are done on the server...not the best solution coding
the same thing twice. And some of my validation rules require checking the
database
Hi,
Why this code not is ok?
-8---
$(document).ready(function(){
$(.button).click(function(){
$.ajax({
url: ejemplo.html,
success: function(datos){
alert(datos);
}
Normally, one would direct an AJAX request to some server-side script
(eg. PHP, Python, Perl, etc.) not a plain HTML page.
On Wed, Nov 4, 2009 at 8:55 PM, Lord Gustavo Miguel Angel
goosfanc...@gmail.com wrote:
Hi,
Why this code not is ok?
-8---
: [jQuery] [ ajax jQuery]
Normally, one would direct an AJAX request to some server-side script
(eg. PHP, Python, Perl, etc.) not a plain HTML page.
On Wed, Nov 4, 2009 at 8:55 PM, Lord Gustavo Miguel Angel
goosfanc...@gmail.com wrote:
Hi,
Why this code not is ok?
-8
I am using an AJAX POST, i.e.:
$.ajax({
url: serviceUrl,
async: false,
data: params,
type: POST,
dataType: xml,
//more code here...
});
But in the browser, I see that instead of a POST I see an OPTIONS
as well as a 500 unimplemented method.
Any idea what that OPTIONS
I am using an AJAX POST, i.e.:
$.ajax({
url: serviceUrl,
async: false,
data: params,
type: POST,
dataType: xml,
//more code here...
});
But in the browser, I see that instead of a POST I see an OPTIONS as
well as a 500 unimplemented method.
Any idea what that OPTIONS
Hi guys,
thank you very much for your help :) I tried the id tag and value by jquery
and now everything's working !!! :) , weird how browser compatabilty works
ey,
Thank you guys,
The Ace
--
View this message in context:
I am trying to send data to a remove server via ajax. I am recieving the
xmlHttpRequest Object, but all of its properties are undefined or empty
$('#testReq').click(function(){
alert('Button Works!');
$.ajax({
type: POST,
this message in
context:http://old.nabble.com/jquery-ajax-and-listening-for-users-exiting-the...
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
://myWebsite.com/usersessions/store', {data:
this.exportJSON()});
});
--
View this message in context:
http://old.nabble.com/jquery-ajax-and-listening-for-users-exiting-the-site-tp26155435s27240p26155435.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Hi there,
I am not a guru jquery coder and still have to learn alot, recently while
learning jquery AJAX I have bumped into a weired issue, I have a apge right
and in this page I have a dropdown list for people to select an RSS channel
that they wish to know more about, the dropdownlist ahs
May I suggest you actually use jQuery ?
var ddlvalue = $('#ddlChannelSelect').val();
This should do the trick.
Michel Belleville
2009/10/30 acetrader saliba...@gmail.com
Hi there,
I am not a guru jquery coder and still have to learn alot, recently while
learning jquery AJAX I have
1 - 100 of 858 matches
Mail list logo