jquery Programming Glossary: users
How to know if a font (@font-face) has already been loaded? http://stackoverflow.com/questions/12312323/how-to-know-if-a-font-font-face-has-already-been-loaded to the custom as possible so your layout stays intact and users get an expected experience. Here's a demo http patrickmarabeas.github.io..
close a connection early http://stackoverflow.com/questions/138374/close-a-connection-early to user note #71172 Nov 2006 copied here Closing the users browser connection whilst keeping your php script running has.. was modified so that it would not automatically close the users connection. sts at mail dot xubion dot hu Posted the original..
Fancybox doesn't work with jQuery v1.9.0 [ f.browser is undefined / Cannot read property 'msie' ] http://stackoverflow.com/questions/14344289/fancybox-doesnt-work-with-jquery-v1-9-0-f-browser-is-undefined-cannot-read out by @Manu's answer. UPDATE Jan 17 2013 Workaround for users of Fancybox v1.3.4 Patch the fancybox js file to make it work..
How do I “think in AngularJS” if I have a jQuery background? http://stackoverflow.com/questions/14994391/how-do-i-think-in-angularjs-if-i-have-a-jquery-background Again the template stuff is in the template so you or your users can easily swap it out for one that meets any style necessary..
Why should I use Google's CDN for jQuery? http://stackoverflow.com/questions/2180391/why-should-i-use-googles-cdn-for-jquery be a cache hit. As more sites follow this practice more users already have the file ready. It ensures that the payload will..
How can I override the OnBeforeUnload dialog and replace it with my own? http://stackoverflow.com/questions/276660/how-can-i-override-the-onbeforeunload-dialog-and-replace-it-with-my-own dialog and replace it with my own I need to warn users about unsaved changes before they leave a page a pretty common.. property of window.event a dialog box appears that gives users the option to stay on the current page and retain the string..
How to filter the jqGrid data NOT using the built in search/filter box http://stackoverflow.com/questions/2928371/how-to-filter-the-jqgrid-data-not-using-the-built-in-search-filter-box data NOT using the built in search filter box I want users to be able to filter grid data without using the intrinsic search..
jQuery cross domain iframe scripting http://stackoverflow.com/questions/3083112/jquery-cross-domain-iframe-scripting dealing with a WebApp for instance you can tell your users that they have to grant access to cross domain calls . In Gecko..
jQuery Sortable - Select and Drag Multiple List Items http://stackoverflow.com/questions/3774755/jquery-sortable-select-and-drag-multiple-list-items I have a design where I have a list of available boxes users take boxes by dragging them from the available boxes list to..
jqGrid data stored in browser cache? http://stackoverflow.com/questions/3885658/jqgrid-data-stored-in-browser-cache that the data could be cached but not shared with another users. If you want read more about caching control with respect of..
Why would multiple simultaneous AJAX calls to the same ASP.NET MVC action cause the browser to block? http://stackoverflow.com/questions/4428413/why-would-multiple-simultaneous-ajax-calls-to-the-same-asp-net-mvc-action-cause is exclusive per session which means that if two different users make concurrent requests access to each separate session is..
jQuery keypress() event not firing? http://stackoverflow.com/questions/492865/jquery-keypress-event-not-firing fire nothing. I am developing the site primarily for IE users because it is a line of business app. Am I doing something wrong..
jQuery Set Cursor Position in Text Area http://stackoverflow.com/questions/499126/jquery-set-cursor-position-in-text-area jQuery I've got a text field with content and I want the users cursor to be positioned at a certain offset when they focus..
Animate element transform rotate http://stackoverflow.com/questions/5462275/animate-element-transform-rotate a step function and the appropriate css3 transform for the users browser. CSS3 transform is a bit tricky to cover all your browsers..
Graph visualization code in JavaScript? http://stackoverflow.com/questions/7034/graph-visualization-code-in-javascript I'd like to be able to hook it in with jQuery so that users can tweak the layout manually by dragging the nodes around...
jquery ajax, read the stream incrementally? http://stackoverflow.com/questions/7740646/jquery-ajax-read-the-stream-incrementally In case it is relevant assume for this question that users have the latest version of Firefox Chrome Opera and old browser..
Prevent Users from submitting form by hitting enter http://stackoverflow.com/questions/895171/prevent-users-from-submitting-form-by-hitting-enter on a website and there seems to be some issues with the users hitting enter I don't know why and accidentally submitting the..
JQuery: Selecting Text in an Element (akin to highlighting with your mouse) http://stackoverflow.com/questions/985272/jquery-selecting-text-in-an-element-akin-to-highlighting-with-your-mouse akin to highlighting with your mouse I would like to have users click a link that then selects the html text in another element..
What's wrong with the jQuery live method? http://stackoverflow.com/questions/11115864/whats-wrong-with-the-jquery-live-method docs now recommend Use .on to attach event handlers. Users of older versions of jQuery should use .delegate in preference..
In jQuery, how to attach events to dynamic html elements? http://stackoverflow.com/questions/1359018/in-jquery-how-to-attach-events-to-dynamic-html-elements method is deprecated. Use .on to attach event handlers. Users of older versions of jQuery should use .delegate in preference..
Microsoft CDN for jQuery or Google CDN? http://stackoverflow.com/questions/1447184/microsoft-cdn-for-jquery-or-google-cdn best for our solution. Several factors play into this. Users with an older browser are still probably making 2 simultaneous..
Modifying document.location.hash without page scrolling http://stackoverflow.com/questions/1489624/modifying-document-location-hash-without-page-scrolling need to deep link into a page. Instead of having a link to Users and telling people to click settings it's helpful to be able..
upload multiple images with jquery ajax and process them with php http://stackoverflow.com/questions/15259632/upload-multiple-images-with-jquery-ajax-and-process-them-with-php input type file class imgform_image name image value C Users william Pictures image.png input type button id btn form imgform..
unable to load xml from external file using jQuery http://stackoverflow.com/questions/19865938/unable-to-load-xml-from-external-file-using-jquery and Error in chrome XMLHttpRequest cannot load file C Users admin Desktop public_html 281 29 public_html data.xml. Cross..
Greasemonkey @require jQuery not working “Component not available” http://stackoverflow.com/questions/2077714/greasemonkey-require-jquery-not-working-component-not-available console Error Component is not available Source File file Users greg Library Application 20Support Firefox Profiles xo9xhovo.default.. Greasemonkey script Error not well formed Source File file Users Greg Documents myscript.user.js Line 1 Column 1 Source Code..
jQuery Sortable - Select and Drag Multiple List Items http://stackoverflow.com/questions/3774755/jquery-sortable-select-and-drag-multiple-list-items them from the available boxes list to their My Boxes list. Users more often than not take multiple boxes at a time max 20 once..
How to find the nearest common ancestors of two or more nodes? http://stackoverflow.com/questions/3960843/how-to-find-the-nearest-common-ancestors-of-two-or-more-nodes to find the nearest common ancestors of two or more nodes Users selects two or more elements in a HTML page. What i want to..
Clone a file input element in Javascript http://stackoverflow.com/questions/415483/clone-a-file-input-element-in-javascript to change a hidden file upload field to lets say c Users Person Documents Finances Or C Users Person AppData Microsoft.. field to lets say c Users Person Documents Finances Or C Users Person AppData Microsoft Outlook.pst share improve this answer..
Detect iPad users using jQuery? http://stackoverflow.com/questions/4617638/detect-ipad-users-using-jquery JavaScript jQuery HowTo Detecting Redirecting iPad iPhone Users David Walsh's Blog Detecting iPad use Detecting iPad use via..
JQGrid - Cannot call ASP.NET WebMethod but can with Ajax http://stackoverflow.com/questions/5160045/jqgrid-cannot-call-asp-net-webmethod-but-can-with-ajax GetData '#list' .jqGrid type POST url Default.aspx GetUsersJSON datatype json height 250 colName 'Username' 'Email' colModel.. del true WebMethod WebMethod public static string GetUsersJSON var users new List using UserAdministrationSandboxDataContext.. GetUserDataFromServer '#list' .jqGrid url Default.aspx GetUsersJSON mtype 'POST' ajaxGridOptions contentType application json..
jQuery draggable shows helper in wrong place when scrolled down page http://stackoverflow.com/questions/5791886/jquery-draggable-shows-helper-in-wrong-place-when-scrolled-down-page and droppable for a work planning system I'm developing. Users drag jobs to a different day or user and then the data is updated..
What is AJAX and how does it work? [duplicate] http://stackoverflow.com/questions/6009206/what-is-ajax-and-how-does-it-work not recommended for login authentication and posting forms Users can turn off Javascript or may be restricted from running Javascript..
jQuery - checkboxes like radiobuttons http://stackoverflow.com/questions/881166/jquery-checkboxes-like-radiobuttons would certainly violate the principle of least surprise. Users have been conditioned to expect radios to accept 1 check and..
Prevent Users from submitting form by hitting enter http://stackoverflow.com/questions/895171/prevent-users-from-submitting-form-by-hitting-enter Users from submitting form by hitting enter I have a survey on a..
jQuery click() event not firing on AJAX loaded HTML elements http://stackoverflow.com/questions/9272438/jquery-click-event-not-firing-on-ajax-loaded-html-elements method is deprecated. Use .on to attach event handlers. Users of older versions of jQuery should use .delegate . share improve..
Does scrollIntoView work in all browsers? http://stackoverflow.com/questions/9445842/does-scrollintoview-work-in-all-browsers scrolling which eliminates all 3 issues outlined above. Users can easily keep track of the movement. share improve this answer..
How to know if a font (@font-face) has already been loaded? http://stackoverflow.com/questions/12312323/how-to-know-if-a-font-font-face-has-already-been-loaded size line spacing etc to get your fall back font as close to the custom as possible so your layout stays intact and users get an expected experience. Here's a demo http patrickmarabeas.github.io jQuery FontSpy.js Throw the following into a .js..
close a connection early http://stackoverflow.com/questions/138374/close-a-connection-early a close header. OP then confirms yup this did the trick pointing to user note #71172 Nov 2006 copied here Closing the users browser connection whilst keeping your php script running has been an issue since PHP 4.1 when the behaviour of register_shutdown_function.. PHP 4.1 when the behaviour of register_shutdown_function was modified so that it would not automatically close the users connection. sts at mail dot xubion dot hu Posted the original solution php header Connection close ob_start phpinfo size..
Fancybox doesn't work with jQuery v1.9.0 [ f.browser is undefined / Cannot read property 'msie' ] http://stackoverflow.com/questions/14344289/fancybox-doesnt-work-with-jquery-v1-9-0-f-browser-is-undefined-cannot-read to jQuery v1.8.3 or apply the migration script as pointed out by @Manu's answer. UPDATE Jan 17 2013 Workaround for users of Fancybox v1.3.4 Patch the fancybox js file to make it work with jQuery v1.9.0 as follow Open the jquery.fancybox 1.3.4.js..
How do I “think in AngularJS” if I have a jQuery background? http://stackoverflow.com/questions/14994391/how-do-i-think-in-angularjs-if-i-have-a-jquery-background scope.on false scope.toggle function scope.on scope.on Again the template stuff is in the template so you or your users can easily swap it out for one that meets any style necessary and the logic never had to be touched. Reusability boom And..
Why should I use Google's CDN for jQuery? http://stackoverflow.com/questions/2180391/why-should-i-use-googles-cdn-for-jquery from any given site. It increases the chance that there will be a cache hit. As more sites follow this practice more users already have the file ready. It ensures that the payload will be as small as possible. Google can pre compress the file..
How can I override the OnBeforeUnload dialog and replace it with my own? http://stackoverflow.com/questions/276660/how-can-i-override-the-onbeforeunload-dialog-and-replace-it-with-my-own can I override the OnBeforeUnload dialog and replace it with my own I need to warn users about unsaved changes before they leave a page a pretty common problem . window.onbeforeunload handler This works but it.. from Microsoft When a string is assigned to the returnValue property of window.event a dialog box appears that gives users the option to stay on the current page and retain the string that was assigned to it. The default statement that appears..
How to filter the jqGrid data NOT using the built in search/filter box http://stackoverflow.com/questions/2928371/how-to-filter-the-jqgrid-data-not-using-the-built-in-search-filter-box to filter the jqGrid data NOT using the built in search filter box I want users to be able to filter grid data without using the intrinsic search box. I have created two input fields for date from and..
jQuery cross domain iframe scripting http://stackoverflow.com/questions/3083112/jquery-cross-domain-iframe-scripting or postMessage . There are a few exceptions like always If you're dealing with a WebApp for instance you can tell your users that they have to grant access to cross domain calls . In Gecko Firefox for instance you can call netscape.security.PrivilegeManager.enablePrivilege..
jQuery Sortable - Select and Drag Multiple List Items http://stackoverflow.com/questions/3774755/jquery-sortable-select-and-drag-multiple-list-items Sortable Select and Drag Multiple List Items I have a design where I have a list of available boxes users take boxes by dragging them from the available boxes list to their My Boxes list. Users more often than not take multiple..
jqGrid data stored in browser cache? http://stackoverflow.com/questions/3885658/jqgrid-data-stored-in-browser-cache which switch off caching the data on the proxy and declare that the data could be cached but not shared with another users. If you want read more about caching control with respect of HTTP headers I'll recommend you to read the following Caching..
Why would multiple simultaneous AJAX calls to the same ASP.NET MVC action cause the browser to block? http://stackoverflow.com/questions/4428413/why-would-multiple-simultaneous-ajax-calls-to-the-same-asp-net-mvc-action-cause Session State Overview Access to ASP.NET session state is exclusive per session which means that if two different users make concurrent requests access to each separate session is granted concurrently. However if two concurrent requests are..
jQuery keypress() event not firing? http://stackoverflow.com/questions/492865/jquery-keypress-event-not-firing the alphanumeric keys but the cursor keys up down left right fire nothing. I am developing the site primarily for IE users because it is a line of business app. Am I doing something wrong here 'document' .keypress function e switch e.which case..
jQuery Set Cursor Position in Text Area http://stackoverflow.com/questions/499126/jquery-set-cursor-position-in-text-area How do you set the cursor position in a text field using jQuery I've got a text field with content and I want the users cursor to be positioned at a certain offset when they focus on the field. The code should look kind of like this '#input'..
Animate element transform rotate http://stackoverflow.com/questions/5462275/animate-element-transform-rotate CSS properties. I believe you could get this done using a step function and the appropriate css3 transform for the users browser. CSS3 transform is a bit tricky to cover all your browsers in IE6 you need to use the Matrix filter for instance..
Graph visualization code in JavaScript? http://stackoverflow.com/questions/7034/graph-visualization-code-in-javascript guess is that performance isn't going to be a big deal. Ideally I'd like to be able to hook it in with jQuery so that users can tweak the layout manually by dragging the nodes around. Edit Google's Visualization API seems to be more graphs as charts..
jquery ajax, read the stream incrementally? http://stackoverflow.com/questions/7740646/jquery-ajax-read-the-stream-incrementally EventSource etc but I would prefer to avoid that if possible. In case it is relevant assume for this question that users have the latest version of Firefox Chrome Opera and old browser compatibility is not an issue. jquery ajax javascript events..
Prevent Users from submitting form by hitting enter http://stackoverflow.com/questions/895171/prevent-users-from-submitting-form-by-hitting-enter Users from submitting form by hitting enter I have a survey on a website and there seems to be some issues with the users hitting enter I don't know why and accidentally submitting the survey form without clicking the submit button. Is there..
JQuery: Selecting Text in an Element (akin to highlighting with your mouse) http://stackoverflow.com/questions/985272/jquery-selecting-text-in-an-element-akin-to-highlighting-with-your-mouse Selecting Text in an Element akin to highlighting with your mouse I would like to have users click a link that then selects the html text in another element NOT an input . By select I mean the same way you would select..
What's wrong with the jQuery live method? http://stackoverflow.com/questions/11115864/whats-wrong-with-the-jquery-live-method method The live method was deprecated in jQuery 1.7. The jQuery docs now recommend Use .on to attach event handlers. Users of older versions of jQuery should use .delegate in preference to .live . I understand how on and delegate work but I don't..
In jQuery, how to attach events to dynamic html elements? http://stackoverflow.com/questions/1359018/in-jquery-how-to-attach-events-to-dynamic-html-elements 1.7. From http api.jquery.com live As of jQuery 1.7 the .live method is deprecated. Use .on to attach event handlers. Users of older versions of jQuery should use .delegate in preference to .live . For jQuery 1.7 you can attach an event handler..
Microsoft CDN for jQuery or Google CDN? http://stackoverflow.com/questions/1447184/microsoft-cdn-for-jquery-or-google-cdn The project I'm currently on uses both CDNs which works best for our solution. Several factors play into this. Users with an older browser are still probably making 2 simultaneous requests per domain as recommended by the HTTP specification..
Modifying document.location.hash without page scrolling http://stackoverflow.com/questions/1489624/modifying-document-location-hash-without-page-scrolling to load in content and there's a few occasions where we need to deep link into a page. Instead of having a link to Users and telling people to click settings it's helpful to be able to link people to user.aspx#settings To allow people to provide..
upload multiple images with jquery ajax and process them with php http://stackoverflow.com/questions/15259632/upload-multiple-images-with-jquery-ajax-and-process-them-with-php html input type text class imgform name imagename value name input type file class imgform_image name image value C Users william Pictures image.png input type button id btn form imgform JQUERY 'body' .on 'click' '#btn' function var form this..
unable to load xml from external file using jQuery http://stackoverflow.com/questions/19865938/unable-to-load-xml-from-external-file-using-jquery Access to restricted URI denied Break On This Error xhttp.send and Error in chrome XMLHttpRequest cannot load file C Users admin Desktop public_html 281 29 public_html data.xml. Cross origin requests are only supported for HTTP. xml.js 13 Uncaught..
Greasemonkey @require jQuery not working “Component not available” http://stackoverflow.com/questions/2077714/greasemonkey-require-jquery-not-working-component-not-available I still get the following error message in Firefox's error console Error Component is not available Source File file Users greg Library Application 20Support Firefox Profiles xo9xhovo.default gm_scripts myscript jquerymin.js Line 36 This stops.. for this error to occur in the console when installing a Greasemonkey script Error not well formed Source File file Users Greg Documents myscript.user.js Line 1 Column 1 Source Code UserScript javascript jquery firefox addon greasemonkey share..
jQuery Sortable - Select and Drag Multiple List Items http://stackoverflow.com/questions/3774755/jquery-sortable-select-and-drag-multiple-list-items have a list of available boxes users take boxes by dragging them from the available boxes list to their My Boxes list. Users more often than not take multiple boxes at a time max 20 once they have finished with the boxes they drag them back to the..
How to find the nearest common ancestors of two or more nodes? http://stackoverflow.com/questions/3960843/how-to-find-the-nearest-common-ancestors-of-two-or-more-nodes to find the nearest common ancestors of two or more nodes Users selects two or more elements in a HTML page. What i want to accomplish is to find those elements' common ancestors so body..
Clone a file input element in Javascript http://stackoverflow.com/questions/415483/clone-a-file-input-element-in-javascript
Detect iPad users using jQuery? http://stackoverflow.com/questions/4617638/detect-ipad-users-using-jquery
JQGrid - Cannot call ASP.NET WebMethod but can with Ajax http://stackoverflow.com/questions/5160045/jqgrid-cannot-call-asp-net-webmethod-but-can-with-ajax to the server. Original Code Attempted JQGrid Setup function GetData '#list' .jqGrid type POST url Default.aspx GetUsersJSON datatype json height 250 colName 'Username' 'Email' colModel ... .jqGrid 'navGrid' '#pager' edit true add true.. ... .jqGrid 'navGrid' '#pager' edit true add true del true WebMethod WebMethod public static string GetUsersJSON var users new List using UserAdministrationSandboxDataContext uasd new UserAdministrationSandboxDataContext users.. helps others and thanks Oleg for all your help. JS function GetUserDataFromServer '#list' .jqGrid url Default.aspx GetUsersJSON mtype 'POST' ajaxGridOptions contentType application json datatype json serializeGridData function postData return..
jQuery draggable shows helper in wrong place when scrolled down page http://stackoverflow.com/questions/5791886/jquery-draggable-shows-helper-in-wrong-place-when-scrolled-down-page place when scrolled down page I'm using jQuery draggable and droppable for a work planning system I'm developing. Users drag jobs to a different day or user and then the data is updated using a few ajax type calls. Everything works fine except..
What is AJAX and how does it work? [duplicate] http://stackoverflow.com/questions/6009206/what-is-ajax-and-how-does-it-work Before we begin though a few words of caution. Ajax is not recommended for login authentication and posting forms Users can turn off Javascript or may be restricted from running Javascript due to IT policies With this in mind it is advised..
jQuery - checkboxes like radiobuttons http://stackoverflow.com/questions/881166/jquery-checkboxes-like-radiobuttons this because it would be considered bad for usability and would certainly violate the principle of least surprise. Users have been conditioned to expect radios to accept 1 check and checkboxes to accept many. Don't make your users think. If..
Prevent Users from submitting form by hitting enter http://stackoverflow.com/questions/895171/prevent-users-from-submitting-form-by-hitting-enter Users from submitting form by hitting enter I have a survey on a website and there seems to be some issues with the users hitting..
jQuery click() event not firing on AJAX loaded HTML elements http://stackoverflow.com/questions/9272438/jquery-click-event-not-firing-on-ajax-loaded-html-elements
Does scrollIntoView work in all browsers? http://stackoverflow.com/questions/9445842/does-scrollintoview-work-in-all-browsers
|