I've got an ajax form in an MVC 2 application. I cannot find the proper way to access the form elements within the Ajax form decleration. I can access the name of the elements with Request.Form.Keys but I can't access the actual values. I've read numerous examples of posting forms with jQuery but my form has elements created dynamically ...
I am trying to implement simple xhr abstraction, and am getting this warning when trying to set the headers for a POST. I think it might have something to do with setting the headers in a separate js file, because when i set them in the <script> tag in the .html file, it worked fine. The POST request is working fine, but I get this war...
I am getting a strange error in Firebug, that I am not getting in Webkit. The error comes up as ' $( ' in firebug.
Here's the code that is supposedly causing it to flip:
$.getScript("http://kylehotchkiss.com/min/?g=packageHome", function() {
$(".countdown").countdown({
until: new Date(2010, 6 - 1, 5),
layout:'{dn} {dl}'
});
});
...
I'm playing around a little bit with raw XmlHttpRequestObjects + Comet Long Polling. (Usually, I'd let GWT or another framework handle of this for me, but I want to learn more about it.)
I wrote the following code:
function longPoll() {
var xhr = createXHR(); // Creates an XmlHttpRequestObject
xhr.open('GET', 'LongPollServlet', tru...
Hi Guys,
I've been finding my way around Django and jQuery. I've built a basic form in Django. On clicking submit, I'm using jQuey to make an AJAX request to the sever to post my data. This bit seems to work fine and I've managed to save the data. Django returns a ValidatioError when a form is invalid. Could anyone tell me how to retur...
Hello, I am trying to make use of jQueryUI AJAX tabs in my ASP.Net Webforms project.
I have come up against a wall though. For AJAX, you must render only a partial page(no <html> and such elements) by an external URL. How would you best do this in ASP.Net? aspx files require things like a <html> and <head> tag so those wouldn't work so...
Is it possible for "Uploadify" to send out e-mail confirmation after the upload?
Uploadify is a jQuery plugin that allows the easy integration of a multiple (or single) file uploads on your website. It requires Flash and any backend development language. An array of options allow for full customization for advanced users, but basic im...
I have all tabs enabled... like a week ago it just stopped showing ajax requests in the console.... I'm not sure what to do about it. Any ideas on what I can do to fix it?
Update
When I use console.log(el); it says console is undefined as well.
...
I am trying to get jquery to pick up variable that I am defining and I'm having issues doing it.
$.ajax({
url: "sitemap.php",
cache: false,
success: function(html){
$("#results").append(html);
var $seriestitle = $("#define-title").text();
$('#results a:contains("$seriestitle")').addClass('current-series');
$('a:not("...
I'm creating a CMS using jQuery and AJAX. When I click, my "Add Campaign" buttom, it creates a unique client ID in the DB and on a hard reload, the new client shows up in its container. I am trying to use ajax to reload the container on the fly and I'm not having the exact luck i am hoping for. I can get it to reload, but it's like it'...
I'm building a simple time tool (php, mysql, js) that takes the current date and time (both formatted and raw unix timecode) and provides sliders that allow people to add time to an event. There are three units, days, hours and minutes. Clicking on up or down arrows is adding the appropriate time to a hidden "timecode" field.
The field...
I've got several div id's, each containing a different client. I want to be able to click the delete button and using ajax and jquery delete the specific div from the database. I'm getting success in AJAX but it's not deleting anything from the DB. And then obviously, upon deletion, I would like the container to reload dynamically. help...
Yo.
I'm really quite new to this whole JavaScript business, not to mention AJAX, so I was thinking if you guys could help me out with a conundrum.
Basically, what I want is for the user to be notified upon a change in a value of a MySQL table. How should I go about that? Should I use jQuery, or can I slap something together myself?
Th...
Have created simple Ajax enabled contact forms before that have around 12 fields - worked fine....
Now working on a PHP enabled web page for job applications that has around 100 fields.
The ajax technique I was using was to send request via querystrings (&val1=test;&val2=test2 and etc ...)
That is not going to scale very well with lar...
Hey guys
I created this chat system that used to work fine till number of messages increased (over 300 messages and i want it to take up to 1000)started to cause slow script and takes time to retrieve all data.
The idea depends on selecting the data XML style and then add it to a specific tab and repeat the act with setTimeout,is there ...
What is the difference between Combo box and drop down list in asp.net Ajax Control Toolkit
...
How can you call GM_xmlhttpRequest inside of an eval where you are evaling some complicated code, some of which calls GM_xmlhttpRequest.
This is a follow up to http://stackoverflow.com/questions/1074236
Here is some sample code:
// ==UserScript==
// @name Test GM AJAX
// ==/UserScript==
console = unsafeWindow.console;
functi...
Hi,
I read your reply regarding the jQuery validator where you outline a method to check a username against a value in a database.
Ive tried implementing this method but no matter what is returned from the PHP file I always get the message that the username is already taken.
Here is ths custom method...
$.validator.addMethod("uniqueU...
Hello,
I was wondering if there is a way to get the URL of the returned resource after a AJAX call in JavaScript?
I want to use this with a form, which is in "mysite.com/users/add.html". This is a Spring MVC controller. If the validation of the form fails the controller will return the "users/add" view, but if the validation is OK it w...
hi folks,
I asked a question a few days ago about how to customise the calendar extender of the ajaxcontroltoolkit library and got a response saying I should ditch the control kit for jQuery. I have to say I've heard jQuery being mentioned quite a bit and more importantly I've seen it as a requirement for an increasing number of web dev...