jquery Programming Glossary: specifying
How do you fix the flickering that occurs when you use slideToggle in jQuery? http://stackoverflow.com/questions/111407/how-do-you-fix-the-flickering-that-occurs-when-you-use-slidetoggle-in-jquery List Apart for more information on DOCTYPES or you can try specifying the fairly lenient 4 Transitional DOCTYPE HTML PUBLIC W3C DTD..
jQuery in Greasemonkey 1.0 conflicts with websites using jQuery http://stackoverflow.com/questions/12146445/jquery-in-greasemonkey-1-0-conflicts-with-websites-using-jquery done with 104 scripts so far. Reactivate the sandbox by specifying a @grant value other than none . Edit your Metadata Block to..
What exactly can cause an “HIERARCHY_REQUEST_ERR: DOM Exception 3”-Error? http://stackoverflow.com/questions/1256394/what-exactly-can-cause-an-hierarchy-request-err-dom-exception-3-error is XML fix by adding doctype html to your injected HTML or specifying the content type when fetching via XHR share improve this..
Use ASP.NET MVC validation with jquery ajax? http://stackoverflow.com/questions/14005773/use-asp-net-mvc-validation-with-jquery-ajax What this does is return a JSON object specifying all of your model errors. Example response would be key Name..
Calling a jQuery plugin without specifying any elements http://stackoverflow.com/questions/1758370/calling-a-jquery-plugin-without-specifying-any-elements a jQuery plugin without specifying any elements Say I have the following jQuery plugin .fn.myPlugin.. .myPlugin Is there any way I can call my plugin without specifying an element I have tried calling it like such .myPlugin but that..
Ajax request with JQuery on page unload http://stackoverflow.com/questions/1821625/ajax-request-with-jquery-on-page-unload functions to handle the response from the ajax call when specifying async false . More can be read about this in the documentation..
jQuery: check if element has CSS attribute http://stackoverflow.com/questions/2239567/jquery-check-if-element-has-css-attribute in firefox chrome for instance both being accurate ways of specifying transparent . jQuery.fn.getBg function return this .parents..
How can I execute multiple, simultaneous jquery effects? http://stackoverflow.com/questions/2344804/how-can-i-execute-multiple-simultaneous-jquery-effects kind of jquery support for combining these more easily specifying queue false but I don't think it's that simple. What I did was..
SimpleModal breaks ASP.Net Postbacks http://stackoverflow.com/questions/29174/simplemodal-breaks-asp-net-postbacks 1.3 adds an appendTo option in the configuration for specifying which element the modal dialog should be appended to. Here are..
jQuery 1.6: backgroundPosition vs backgroundPositionX and FF4 compatibility http://stackoverflow.com/questions/6322347/jquery-1-6-backgroundposition-vs-backgroundpositionx-and-ff4-compatibility Now that I just give one parameter it works but I'm not specifying if it's for X or Y axis so it defaults to X axis it seems....
In jQuery, is selecting by class or id faster than selecting by some other attribute? http://stackoverflow.com/questions/6460644/in-jquery-is-selecting-by-class-or-id-faster-than-selecting-by-some-other-attri class or attribute selector you can improve performance by specifying the optional context parameter. For example... .someclass #somecontainer..
Resetting a multi-stage form with jQuery http://stackoverflow.com/questions/680241/resetting-a-multi-stage-form-with-jquery and wish I had used it in my original answer. Anyhow by specifying the input part of the selector plus the cache of the form element..
jquery: how do I get the height of a div's full content? http://stackoverflow.com/questions/6853293/jquery-how-do-i-get-the-height-of-a-divs-full-content
Apply jQuery datepicker to multiple instances http://stackoverflow.com/questions/707603/apply-jquery-datepicker-to-multiple-instances to the ID . I tried assigning a class to the text box and specifying '.my_class' .datepicker but while that shows a date picker everywhere..
jQuery Selectors, efficiency http://stackoverflow.com/questions/7262116/jquery-selectors-efficiency it like this with the tag#id . The first is faster. BTW specifying the tag name for an #id selector is over specifying as there.. BTW specifying the tag name for an #id selector is over specifying as there can be only one tag with a given id on the document...
can jquery ajax call external webservice? http://stackoverflow.com/questions/727183/can-jquery-ajax-call-external-webservice you can make a jsonp request using the .json function and specifying a callback in the url like so callback Actually all you need..
Allow users to change font size in a webpage http://stackoverflow.com/questions/891980/allow-users-to-change-font-size-in-a-webpage because it is easy to translate this to pixel sizes when specifying other font sizes e.g. 1.2em 12px 1.8em 18px and so on To then..
Greasemonkey Jquery interference? [duplicate] http://stackoverflow.com/questions/12983202/greasemonkey-jquery-interference change introduced in GM 1.0 It restores the sandbox. Specifying a @grant value other than none reactivates the sandbox. You..
Can I keep Nuget on the jQuery 1.9.x/1.x path (instead of upgrading to 2.x)? http://stackoverflow.com/questions/16125828/can-i-keep-nuget-on-the-jquery-1-9-x-1-x-path-instead-of-upgrading-to-2-x package id jQuery version 1.9.1 allowedVersions 1.9.1 2 Specifying both min and max versions in allowedVersions should allow updating..
Specifying the value output of of an HTML5 input type = date? http://stackoverflow.com/questions/3496241/specifying-the-value-output-of-of-an-html5-input-type-date the value output of of an HTML5 input type date I'd like to..
jQuery: live() vs delegate() http://stackoverflow.com/questions/4204316/jquery-live-vs-delegate with live but the syntax becomes increasingly horrid. Specifying a context for your events to be captured also improves performance...
Jquery live() vs delegate() http://stackoverflow.com/questions/4579117/jquery-live-vs-delegate with live but the syntax becomes increasingly horrid. Specifying a context for your events to be captured also improves performance...
Send json data with jquery http://stackoverflow.com/questions/6587221/send-json-data-with-jquery support older browsers you might need to include json2.js Specifying the request content type using the contentType property in order..
Specifying the styles for the selected tab in a navbar http://stackoverflow.com/questions/6650856/specifying-the-styles-for-the-selected-tab-in-a-navbar the styles for the selected tab in a navbar I have the following..
jqPlot DateAxis tickInterval not working http://stackoverflow.com/questions/8467233/jqplot-dateaxis-tickinterval-not-working this is the broken functionality I'm referring to Specifying any other interval e.g. tickInterval '2 days' also breaks it...
How do you fix the flickering that occurs when you use slideToggle in jQuery? http://stackoverflow.com/questions/111407/how-do-you-fix-the-flickering-that-occurs-when-you-use-slidetoggle-in-jquery Down Toggle effects now work correctly in IE7. See A List Apart for more information on DOCTYPES or you can try specifying the fairly lenient 4 Transitional DOCTYPE HTML PUBLIC W3C DTD HTML 4.01 Transitional EN http www.w3.org TR html4 loose.dtd..
jQuery in Greasemonkey 1.0 conflicts with websites using jQuery http://stackoverflow.com/questions/12146445/jquery-in-greasemonkey-1-0-conflicts-with-websites-using-jquery is to restore the sandbox this is what I have successfully done with 104 scripts so far. Reactivate the sandbox by specifying a @grant value other than none . Edit your Metadata Block to end with the following lines @grant GM_addStyle UserScript..
What exactly can cause an “HIERARCHY_REQUEST_ERR: DOM Exception 3”-Error? http://stackoverflow.com/questions/1256394/what-exactly-can-cause-an-hierarchy-request-err-dom-exception-3-error
Use ASP.NET MVC validation with jquery ajax? http://stackoverflow.com/questions/14005773/use-asp-net-mvc-validation-with-jquery-ajax filterContext.HttpContext.Response.StatusCode int HttpStatusCode.BadRequest What this does is return a JSON object specifying all of your model errors. Example response would be key Name errors The Name field is required. key Description errors The..
Calling a jQuery plugin without specifying any elements http://stackoverflow.com/questions/1758370/calling-a-jquery-plugin-without-specifying-any-elements a jQuery plugin without specifying any elements Say I have the following jQuery plugin .fn.myPlugin function plugin code Normally you call a plugin on a certain.. call a plugin on a certain number of elements like such body .myPlugin Is there any way I can call my plugin without specifying an element I have tried calling it like such .myPlugin but that does not work. What works is this .myPlugin but is that..
Ajax request with JQuery on page unload http://stackoverflow.com/questions/1821625/ajax-request-with-jquery-on-page-unload You must use the success complete error parameters to provide functions to handle the response from the ajax call when specifying async false . More can be read about this in the documentation for the jQuery .ajax function. share improve this answer..
jQuery: check if element has CSS attribute http://stackoverflow.com/questions/2239567/jquery-check-if-element-has-css-attribute so it is troublesome to test transparent in IE rgba 0 0 0 0 in firefox chrome for instance both being accurate ways of specifying transparent . jQuery.fn.getBg function return this .parents .filter function only checking for IE and Firefox Chrome. add..
How can I execute multiple, simultaneous jquery effects? http://stackoverflow.com/questions/2344804/how-can-i-execute-multiple-simultaneous-jquery-effects combines the bounce and highlight effects. I'd rather see some kind of jquery support for combining these more easily specifying queue false but I don't think it's that simple. What I did was take the jquery.effects.bounce.js and jquery.effects.highlight.js..
SimpleModal breaks ASP.Net Postbacks http://stackoverflow.com/questions/29174/simplemodal-breaks-asp-net-postbacks
jQuery 1.6: backgroundPosition vs backgroundPositionX and FF4 compatibility http://stackoverflow.com/questions/6322347/jquery-1-6-backgroundposition-vs-backgroundpositionx-and-ff4-compatibility '10px' It works everywhere But what's going on here Now that I just give one parameter it works but I'm not specifying if it's for X or Y axis so it defaults to X axis it seems.. but what if I want it to work on Y axis This seems wierd and..
In jQuery, is selecting by class or id faster than selecting by some other attribute? http://stackoverflow.com/questions/6460644/in-jquery-is-selecting-by-class-or-id-faster-than-selecting-by-some-other-attri after the ID is found in the DOM. If you must use a class or attribute selector you can improve performance by specifying the optional context parameter. For example... .someclass #somecontainer Where somecontainer is something like a div surrounding..
Resetting a multi-stage form with jQuery http://stackoverflow.com/questions/680241/resetting-a-multi-stage-form-with-jquery much longer than it should. I do prefer the whitelist approach and wish I had used it in my original answer. Anyhow by specifying the input part of the selector plus the cache of the form element this should make it the best performing answer here. This..
jquery: how do I get the height of a div's full content? http://stackoverflow.com/questions/6853293/jquery-how-do-i-get-the-height-of-a-divs-full-content
Apply jQuery datepicker to multiple instances http://stackoverflow.com/questions/707603/apply-jquery-datepicker-to-multiple-instances box gets a date picker which makes sense since it's tied to the ID . I tried assigning a class to the text box and specifying '.my_class' .datepicker but while that shows a date picker everywhere they all update the first text box. What is the right..
jQuery Selectors, efficiency http://stackoverflow.com/questions/7262116/jquery-selectors-efficiency id . I think they aren't able to optimize it like this with the tag#id . The first is faster. BTW specifying the tag name for an #id selector is over specifying as there can be only one tag with a given id on the document. Over specifying.. optimize it like this with the tag#id . The first is faster. BTW specifying the tag name for an #id selector is over specifying as there can be only one tag with a given id on the document. Over specifying is slower even in CSS . share improve this..
can jquery ajax call external webservice? http://stackoverflow.com/questions/727183/can-jquery-ajax-call-external-webservice you can use JSONP to make cross domain requests. with jquery you can make a jsonp request using the .json function and specifying a callback in the url like so callback Actually all you need is the question mark as the param value the param name can..
Allow users to change font size in a webpage http://stackoverflow.com/questions/891980/allow-users-to-change-font-size-in-a-webpage h1 font size 1.8em p font size 1.2em I use 62.5 on the body because it is easy to translate this to pixel sizes when specifying other font sizes e.g. 1.2em 12px 1.8em 18px and so on To then change the font size in the page programatically you just..
Greasemonkey Jquery interference? [duplicate] http://stackoverflow.com/questions/12983202/greasemonkey-jquery-interference The @grant directive is needed to work around a major design change introduced in GM 1.0 It restores the sandbox. Specifying a @grant value other than none reactivates the sandbox. You might also consider switching to Scriptish which has offered..
Can I keep Nuget on the jQuery 1.9.x/1.x path (instead of upgrading to 2.x)? http://stackoverflow.com/questions/16125828/can-i-keep-nuget-on-the-jquery-1-9-x-1-x-path-instead-of-upgrading-to-2-x config level to prevent an update to the 2.x version e.g. package id jQuery version 1.9.1 allowedVersions 1.9.1 2 Specifying both min and max versions in allowedVersions should allow updating without risking a switch to the 2.x version. By the way..
Specifying the value output of of an HTML5 input type = date? http://stackoverflow.com/questions/3496241/specifying-the-value-output-of-of-an-html5-input-type-date the value output of of an HTML5 input type date I'd like to add native date pickers to my application which currently uses..
jQuery: live() vs delegate() http://stackoverflow.com/questions/4204316/jquery-live-vs-delegate happens on #containerElement . You can do the same thing with live but the syntax becomes increasingly horrid. Specifying a context for your events to be captured also improves performance. With the live example every single click on the entire..
Jquery live() vs delegate() http://stackoverflow.com/questions/4579117/jquery-live-vs-delegate happens on #containerElement . You can do the same thing with live but the syntax becomes increasingly horrid. Specifying a context for your events to be captured also improves performance. With the live example every single click on the entire..
Send json data with jquery http://stackoverflow.com/questions/6587221/send-json-data-with-jquery is native and built into modern browsers. If you want to support older browsers you might need to include json2.js Specifying the request content type using the contentType property in order to indicate to the server the intent of sending a JSON..
Specifying the styles for the selected tab in a navbar http://stackoverflow.com/questions/6650856/specifying-the-styles-for-the-selected-tab-in-a-navbar the styles for the selected tab in a navbar I have the following html code DOCTYPE html html lang en head meta name viewport..
jqPlot DateAxis tickInterval not working http://stackoverflow.com/questions/8467233/jqplot-dateaxis-tickinterval-not-working '1 month' just makes the x axis datapoints and line disappear this is the broken functionality I'm referring to Specifying any other interval e.g. tickInterval '2 days' also breaks it. A workaround is to provide the ticks manually e.g. ticks '2011..
|