The documentation indicates that the error: option function will make available: XHR instance, a status message string (in this case always error) and an optional exception object returned from the XHR ...
I'm not sure how to best word this, so I'll give it a shot and hopefully revise it as it comes to me.
Using javascript/jQuery, let's say I want to get some ...
I am building an application in Java (with a jQuery frontend) that needs to talk to a third party application. it needs to update the interface every two seconds at the ...
I want to build a survey which has about 20 questions. All questions are in the same page.
The structure of whole survey is like the tree structure.
Initially, only one question is ...
Here instead of getting GET response I get OPTIONS.( checked in firebug Net)
Same code is working fine in Safari. Looks like some problem with Firefox.
Any ...
On some of my pages I want Superfish (menu plugin) to unfold one of the first level options by default as soon as the page opens. I attributed this option ul ...
I am writing an email to some colleagues and trying to describe the pattern that jQuery uses to pass parameters, which is to encapsulate them in an "options object", like so:
var ...
20. stackoverflow.com
I have a div that is being used as a dialog with jQuery's .dialog(). This div has a select box with options. The options the user has already selected are displayed ...
I would like to integrate auto-suggest on my website. Which option should I pursue? Are there any advantages with going the jQuery route vs the Javascript route? What about disadvantages?
What about ...
I want to throw an error message if user doesn't input any value for a particular field. I am using blur event. I don't want to use ALERT function for throwing ...
I am having trouble figuring out how to use the JQuery delegate function to do what I require. Basically, I need to allow users to add Panels (i.e. divs) to ...
Currently I am working on a legacy web page that uses a ton of javascript, jquery, microsoft client javascript, and other libraries. The bottom line - I cannot rewrite the ...
How can I undo the grey-out if the select row was removed? Also, when there are several rows added, I want to remove only the row corresponding to that "Remove" button ...
Can someone tell me for what server request code does the 'error' option in jquery ajax ($.ajax) stand for?
Because I want to handle the 400 server error, but I can't seem ...
Creating this theme, I'm pretty new to jquery and struggling as usual.
Just watched this tutorial and decided to have a shot at making my own theme settings to simplify customization.
This is ...
Yes. I am using normal confirm boxes for my "did you mean firstname lastname?" with yes/no
I also have "Who of these did you mean:" and i want a popup/dialog for this ...
I have an javascript object that contains a select list. I'd like to loop through all options within the select. I'm trying the following:
$(this+' .form-select option').each(function() {
...
I explicitly specify a POST and I don't see the post data in the Request and more over specifies it has a OPTIONS.
The response should be a HTML specifying matching users ...
I have two JQuery widgets, one is a sort of 'main' widget, the other could be considered a child. The child handles gathering specific data which is required by the main. ...
I have a series of helper functions to do formatting, etc inside jQuery.tmpl templates. The documentation suggests this can be passed in as the options argument in the template function. ...
The tweeter sharing option on my site with twitter old version is working fine. but with new version it puts plus sign between words. I already used Server.Urlencode method to encode ...
I'm very new to jQuery and just started trying nyroModal tonight. Trying to create some simple popups. I'm working with a popup on page load at the moment. The code I'm ...
I am looking for a way to swap to option values between them.
I made a simple fiddle which would swap inputs but when I change it to select options it doesn't ...
I have tried Googling this but it only ever comes up with the jQuery noconflict option.
I would use this but my site is very jQuery heavy and it will take quite ...
I have a found a great jQuery snippet that allows copying of an option from one selector to another and back.
I would like to modify it to add option groups and ...
I am begginer in ajax and would like to know the difference between $.ajax({cache:false}); and $.ajaxSetup({cache:false}); in jQuery and which one is best option?
I need help debugging a jQuery functionality that allows adding options from one selector to another and removing them back from second selector.
It works fine on load, when original copying is ...
The following works perfectly until I try to replace the hard coded "service_id" with the passed string variable id_name.
Is there a way to pass a variable into this part of the ...
I've got some intranet scripting I am trying to go cross domain with. I'm using jQuery 1.7 and trying to weigh my options. There are 3 options I know of.
I am having a problem accessing the UPDATE function after sending an index greater than 6. I'm not sure why this happens, it works fine up until that point. Below is ...
Thanks for your responses. I've used AJAX to call a servlets and returned formatted data with html tags. I guess this is what you are talking about with HTML fragments. I did it that way because it was simple and avoided parsing the response in the client code but I am wondering if this is bad way to do things. The ...
syntax for an if statement inside an ajax data: option in Getting Started 8 months ago My ajax data option in an Autocomplete works. The whole code section works. Then when I put an if statement into the data: option, I get a Firebug error saying - missing: after property id - and the page fails. ...
option added uisng jquery not recognised by $_POST in Using jQuery 5 months ago First of all, my english isn't good and if this question has already been asked sorry, i can't find.My problem, i have a form with a select multiple, and the contents of the select box changes dynamically, but how do i retrive ...
I was working with jquery and wanted to use it to call items from a database as soon as the page loads. I seem to be running into a problem trying to make a specific page appear based on the link selected by the user. The links are drawn up as titles from the database. The problem is ...
I'm working on a project where I add or remove options in a select list based on what checkboxes have been checked. So far I can remove them with detach() and add them with append() but is there a way to add them in a particular order. I was originally just going to hide and show the options but as always ...
Thanks for you reply Dominique,I tried to use your sample, but didn't work too, the script continue to append my content in a continuous loop.But works great with 1.3.2 version by the way.So I can't use de unwrap function (add in the 1.4 version) and ifModified (which works good with the 1.3.2 version).I join to this post my all files, in ...
I am looking through some previous made code and I notice a special variblecalled options. I suppose it special because my html editor gives it apurple color that stands out as if its a predefined varible. the code lookslike something below $('#begin').click(function(){ $('#log').val('') $('#display').val('') log('Started recording: ' + duration + 'ms') $.Events({ duration: duration }, function(){ $('#display').val(this.exportJSON()) ...
I'm really not sure what you could do in this case. 2500 is an awfully large number of options for a select. I really don't know that it'd work, but you could try "batching" the select options - that is, running your code on 50 or 100 at a time, looping through until they're done. Again, not sure if that'd have ...
Hello, I am an intermediate user of jquery and I am experiencing a really weird behavior with a page on my site when i try to attach an event handler to a button. The functionality of the button is to make a request with .ajax. As long as I do not include the data { key: value } option everything "works" ...
The .ajax() request has an option called 'xhr'. I am trying to grabthe filesize of a file (html) being requested with ajax. I think thatthe method used with XHR is getResponseHeader. How would I implementthis into the 'xhr' option?I have tried several ways, but all gave me errors on Firebug, such asthat getResponseHeader was not defined.$.ajax({......xhr: function(){alert( this.getResponseHeader('Content-Length'));},...ectI ...
[jQuery] serialScroll option : start --> no effect in Using jQuery 2 years ago We're using the serialScroll method and using some of the options.Only the option start has no effect.We want to scroll at the start to element 2 and not to the defaultposition 0Suggestions? $('#technical').serialScroll({ ...
'data(...).options' is null or not an object in Using jQuery 2 years ago Hello, I got a strange message on IE7 (but no error on firefox and IE6): line: 23 'data(...).options' is null or not an object Does any one has any clue about this problem? I'm executing the following code: