Tagged Questions
1
vote
1answer
42 views
Javascript Alert interfering with Ajax
I'm using JQuery Ajax to get a script from server.
$.ajax({
url: src,
type: "GET",
dataType: "script",
timeout: transaction_timeout
}).done(function(){})
.fail(function() { ...
0
votes
2answers
71 views
“Please wait, loading” alert on button click
I have a button- when it is clicked, an alert shows up, prompting for an input, after the user puts in data, the data is sent to the server, processed, and a result comes out. This can last up to 30 ...
0
votes
3answers
62 views
Usage of AJAX in an alert box
I have a javascript alert asking the user to insert a password. When user presses button, I will do an AJAX call to check the password. This could generate another alert with the response (if it was ...
8
votes
8answers
9k views
Javascript and AJAX, only works when using alert()
I am having trouble with my javascript. It seems to be acting oddly. This is what's going on. I have a form, after the user submits it, it calls a function(onsubmit event) to verify the submitted ...
0
votes
2answers
57 views
JQuery Each function with ajax loop
Hello guys this is my very first post in this forum.
I have this function
function TestePresenca(){
var msg = ''
$('#teste tbody tr').each(function(){
var MemberId;
var ClassId;
var ...
3
votes
4answers
3k views
Drupal Views - Ajax Error Alert Box From Hell
Anything I do in views that would normally use ajax to open up a new form to modify properties of that action is giving me an alert box of what looks like the code that should be loading with ajax:
1
vote
1answer
303 views
ajax script onclick alert to popup message box
I found this voting script online and was wondering instead of a onclick alert(You already voted) can i change it to a popup message that i can style with css... i have only submitted a part of the ...
1
vote
1answer
71 views
Adding a line break to an alert() using Ajax
I have found this link where shows me that \n works for my goal.
But it is not working in the way I am doing it.
$.ajax({
url:'ajax/core/Ajax_Request.php',
type:'POST',
...
0
votes
1answer
64 views
Why is the ajax request not completed, but when I add an alert it gets through?
I've been having a strange thoughts about this. Whenever I'm submitting my form and adding comment to the last alert part the ajax never executes but when I'm commenting it again it proceeds. Why is ...
0
votes
1answer
128 views
Rails 3 Alert Not Working with Ajax
I've implemented a "like" button in ajax on my rails application, and I'm wondering why alert is not working.
In my controller,
def like
@post = Post.find(params[:id])
if current_user
...
2
votes
4answers
71 views
creating async AJAX while alert() is opened
My browser sends keep-alive async calls to the server every 20 seconds using window.setTimeout(). The problem: when alert() pops out, the AJAX calls are suspended. If the user waits a while before ...
0
votes
1answer
58 views
jQuery Mobile triggers events multiple times
If you will click 1-3, then you will be redirected to another site which is in its own file. If you will click 4-6 then go back and click on Ahoj button you will se string "ahoj" 2 times which is not ...
-1
votes
1answer
35 views
Echo an file content in ajax
Hello I have used such code, How to echo an 'load.php' contenton alert?
"alert(\'Submitted: ech results of load file \');"
$.ajax({
url : \'load.php\',
data: ...
3
votes
3answers
2k views
Why can I not return responseText from an Ajax function?
Here is part of my Ajax function. For some reason that I cannot figure out, I am able to alert() responseText but not able to return responseText. Can anybody help? I need that value to be used in ...
0
votes
2answers
179 views
javascript from ajax won't run
I have a page being ajaxed in, but the document ready code will not run. I'm running in IE7. I get no alert, but "Page is here" shows fine. The method "ajax" is a utility method I wrote. It works fine ...