ajax

How do I prevent form submission until multiple ajax calls have finished? jquery

Following on from a previous question where I asked about disabling a submit button until all ajax calls have finished returning... It seems that people are still managing to submit the form even with the button disabled and a warning sign. I guess it could be from pressing 'enter' in a text input. How do I go about disabling the whole...

Reload Jquery UI Parent Dialog

All, When I click a link on a web page, a JQuery UI Dialog opens up and it loads some ajax content into it. If I click a link inside this dialog, it opens up a child dialog. When I click "OK" in the child dialog, I want the child dialog to close and refresh the ajax content in the parent dialog. How can I do this? Thanks ...

Passing a value using jQuery and php

I want to pass the value of the file to catch php using jQuery. Is there a way to pass the value of the file to catch.php, so that var_dump($_FILES) will output somthing? ------index.php------------ <p>Name: <input type="text" name="name" id="name" /></p> <p>Picture: <input type="file" name="pic" id="pic" />)</p> <p><a href="#" id="sub...

Microsoft Ajax minifier in c#

How to use the Ajax Minifier DLL in my application. And need to compress the script files through C# ...

Submit text and Wysiwyg form to both Database and flat file.

I've created a form that is made up of 2 input fields and a wysiwyg text area (ckeditor). I have a function using ajax to gather the ckeditor data to be submitted. I have the form properly submitting to the database, but I also need it to write to a text file. How would I go about doing this? Edit to include code: using onclick to subm...

How do I show a confirmation dialog before submitting a form using the jQuery ajax method?

I am using jquery ajax to delete a customer from a table. How would I show a confirmation box before submitting the form? I would preferably like to use jQuery's dialog. I have seen questions like this before but none of them have helped. This is my code: $.ajax({ type: "POST", url: "delete/process.php", da...

How would i display what data is being sent?

Using Jquery ajax post how would i show a message with what data is about to be posted. $.ajax({ beforeSend: function (request) { //something here }, type: "POST", url: "delete/process.php", data: "delcustomerid="+ delcustomerid, success: refreshTable }); ...

Jquery ajax posting wrong data

I have a a form: <form id="deletesubmit" style="display:inline" > <input style="width:50px" type="text" id="delcustomerid" name="delcustomerid" value="'.$row['customersid'].'"> <button type="submit" class="table-button ui-state-default ui-corner-all" title="delete"><span class="ui-icon ui-icon-trash"></spa...

ASP.NET/AJAX Modal

I want an animation modal (loading please wait) and when the page fully loads it disappears? Thank you ...

Why isn't my AJAX call loading?

I'm working to integrate with the MailChimp API to submit a form via Ajax, but I'm having a lot of trouble integrating the form they provide. I think this is a good opportunity for me to learn more about Ajax, but I can't for the life of me figure out where my call is going wrong. Here's what I have in my Ajax call: $('#submit-button')...

i doesn't start at 0

This code alerts 'test 1', then alerts 8! uri = 'http://www.scriptcopy.com/'; compareuris = new Array(); compareuris[0] = 'http://www.scriptcopy.com/'; compareuris[1] = 'https://www.scriptcopy.com/'; compareuris[2] = 'http://www.www.scriptcopy.com/'; compareuris[3] = 'https://www.www.scriptcopy.com/'; compareuris[4] = 'http://scriptcopy...

jQuery featured content slider problem with embedded flash youtube video, overflowing div

Hello, I created an ajax jQuery featured content slider that will automatically navigate through each tab. Each tab has some basic html. The one I used is this one: http://css-tricks.com/anythingslider-jquery-plugin/ For some reason, when I embed a flash video in it, the flash video overflows the div. It looks fine in Chrome and ...

Jquery Block ui only show on ajaxStart of a function

I am currently using Blockui to block the page and show a loading gif when an ajax function is being performed. See here: $(document).ready(function() { //shows loading screen whilst posting via ajax $().ajaxStart(function() { $.blockUI({ message: '<h1><img src="../images/layout/busy.gif" /> Just a moment...</h...

Facebook page serving, bookmark ajax hashes, but no redirection when JS disabled

Hi, I would be grateful to find out some really weird things I have seen on facebook URLs If I bookmark this URL (found when JS is enabled) http://www.facebook.com/HumanRightsWatch?v=app_2344061033#!/HumanRightsWatch?v=box_3 Then disable JS I then proceed to revisit the same url e.g. http://www.facebook.com/HumanRightsWatch?v=app_2...

Using the Google maps API with JavaScript or PHP?

i've read that you can use either javascript or php with google maps api. so what are the pros and cons for each of them? and if i got the geocodes stored in a database. should i get them with ajax and process them with javascript or should i use php? it says in the FAQ that 15000 requests are allowed per day per ip. does this mean tha...

HoverMenuExtender in asp.net?

hi, in my application i place a HoverMenuExtender again i place a hoverMenuextender in a hovermenu. first hovermenuexterder working fine in both i6 browser and mozilla but the second hovermenu is not working in i6 but it is working in mozilla. can u help me please. thank you <table width="100%"> <tr> <td style="widt...

jquery - how to make an iframe from a script i found into an ajax injection?

I'm wondering how i would change this appended iframe: $("#GB_window").append("<iframe id='GB_frame' src='" + url + "'></iframe>"); into a div. Is there a way to change this so that i'm not appending an iframe, but instead using ajax? I need to be able to use the src='" + url + "' part of it. i'm still a novice. If you'd li...

Error after addin some ajax components in VWDEE2008 - must I remove them ?

Error 13 Type 'System.Web.UI.ScriptManager' exists in 'c: \ Windows \ assembly \ GAC_MSIL \ System.Web.Extensions \ 1.0.61025.0__31bf3856ad364e35 \ System.Web.Extensions.dll', and in 'c : \ Windows \ assembly \ GAC_MSIL \ System.Web.Extensions \ 3.5.0.0__31bf3856ad364e35 \ System.Web.Extensions.dll it seems like different framework vers...

Ajax: Load page content to div with select box

I'm trying to load page content into a div via Ajax when a select option is selected eg. I have a select box with 2 options the values are test.HTML and test1.HTML and under that I have a div and want the content from test.HTML and test1.HTML to load in the div when the select box changes... Via Ajax any suggestions? Thanks ...

parsing dojoType on AJAX loaded content

I'm getting an error when parsing checkboxes in a table that is loaded with AJAX, but I get an error saying the widget with that id is already registered: "Error('Tried to register widget with id==userListUncheckAll but that id is already registered')" And I'm guessing this happens because we take out the current table, then replace it ...