jquery Programming Glossary: improvement
how add button before action buttons in jqgrid http://stackoverflow.com/questions/10160660/how-add-button-before-action-buttons-in-jqgrid .ui inline custom.ui state hover span margin 1px for small improvement of the hovering corresponds the the bug fix which already implemented..
Micropost character countdown (Rails Tutorial, 2nd Ed, Chapter 10, Exercise 7) http://stackoverflow.com/questions/10955850/micropost-character-countdown-rails-tutorial-2nd-ed-chapter-10-exercise-7 with javascript coffeescript so there's likely room for improvement refactoring here updateCountdownString remaining if remaining..
jQuery check if element has a specific style property defined inline http://stackoverflow.com/questions/11306736/jquery-check-if-element-has-a-specific-style-property-defined-inline question Here's a very simple probably in much need of improvement plugin I've thrown together that will get you the value of an..
ckeditor image align center customization http://stackoverflow.com/questions/11551922/ckeditor-image-align-center-customization and see if any other geeks have tips or suggestions for improvement. I am posting this on stackoverflow because it's where we all..
jQuery draggable + droppable: how to snap dropped element to dropped-on element http://stackoverflow.com/questions/1254665/jquery-draggable-droppable-how-to-snap-dropped-element-to-dropped-on-element any Awesome Code prizes with this so if you see room for improvement please share jquery draggable droppable share improve this..
Loading Partial Page With Angular and Compile The Controller http://stackoverflow.com/questions/12987001/loading-partial-page-with-angular-and-compile-the-controller might not be a cool or ultimatum solution please share any improvement or tips with us To overcome this problem we need s strategy..
Web Page Source Annotation Tool http://stackoverflow.com/questions/14244498/web-page-source-annotation-tool alleviate some burden but still there's much room for improvement. The ideal tool I'd like to have is one with which I can select..
Simulate native click http://stackoverflow.com/questions/1786377/simulate-native-click window.location el.attr 'href' Any suggestions for improvement are welcome. PS Yes it's just how a regular link would work..
Jquery gets loaded only on page refresh in rails 4 application http://stackoverflow.com/questions/17881384/jquery-gets-loaded-only-on-page-refresh-in-rails-4-application
How can I implement Stack Overflow-like watermarks in forms? http://stackoverflow.com/questions/2260367/how-can-i-implement-stack-overflow-like-watermarks-in-forms that does exactly what i want. Also here's the link to an improvement of the same plugin. jquery html css forms placeholder share..
Need an ASP.NET MVC long running process with user feedback http://stackoverflow.com/questions/2927284/need-an-asp-net-mvc-long-running-process-with-user-feedback tweak the parameters to adjust to your scenario. Further improvement would be to add exception handling. share improve this answer..
Highlight text as you type on textarea http://stackoverflow.com/questions/3282505/highlight-text-as-you-type-on-textarea contains the rich hightlighted version. There is room for improvement when it comes to wrapping text but you get the idea. Happy Highlighting..
Javascript (jQuery) performance measurement and best practices (not load time) http://stackoverflow.com/questions/400836/javascript-jquery-performance-measurement-and-best-practices-not-load-time slightly better but the overall experience still needs improvement with large pages. I should mention that since the site is AJAX..
Avoid jquery conflict in my jsf application http://stackoverflow.com/questions/4459174/avoid-jquery-conflict-in-my-jsf-application i use jQuery.noConflict and .noConflict But no more improvement. Actually why this problem occur when i load the jquery. head..
.prop() vs .attr() http://stackoverflow.com/questions/5874652/prop-vs-attr could be a confusing change although it is definitely an improvement conceptually. Not so good for the bazillions of sites using..
API design and jQuery http://stackoverflow.com/questions/6063874/api-design-and-jquery subject to such a problem as I've described. In terms of improvements within the intended philosophy of the library as far as I know.. you need an element even if you just ran that selector. An improvement I think would be for the jQuery function to log repeated uses..
jQuery, MVC3: Submitting a partial view form within a modal dialog http://stackoverflow.com/questions/6443337/jquery-mvc3-submitting-a-partial-view-form-within-a-modal-dialog return Json new success true The final part for improvement is this PartialEdit id.toString Never do such url hardcoding..
Just disable scroll not hide it? http://stackoverflow.com/questions/8701754/just-disable-scroll-not-hide-it change any scroll event Update You could also do a slight improvement if you get the document.documentElement.scrollTop property via..
Format date in jQuery http://stackoverflow.com/questions/9050763/format-date-in-jquery or getISODateTime some_other_date EDIT I have added some improvement to the function as proposed by Ates Goral also decreased its..
how add button before action buttons in jqgrid http://stackoverflow.com/questions/10160660/how-add-button-before-action-buttons-in-jqgrid
Micropost character countdown (Rails Tutorial, 2nd Ed, Chapter 10, Exercise 7) http://stackoverflow.com/questions/10955850/micropost-character-countdown-rails-tutorial-2nd-ed-chapter-10-exercise-7 app assets javascripts microposts.js.coffee I'm not that good with javascript coffeescript so there's likely room for improvement refactoring here updateCountdownString remaining if remaining 1 or remaining is 0 .countdown .text I18n.t 'shared.micropost_form.characters_remaining.other'..
jQuery check if element has a specific style property defined inline http://stackoverflow.com/questions/11306736/jquery-check-if-element-has-a-specific-style-property-defined-inline width. jquery css inline styles share improve this question Here's a very simple probably in much need of improvement plugin I've thrown together that will get you the value of an inline style property and return undefined if that property..
ckeditor image align center customization http://stackoverflow.com/questions/11551922/ckeditor-image-align-center-customization to post what I am using for one of our company applications and see if any other geeks have tips or suggestions for improvement. I am posting this on stackoverflow because it's where we all go for help and I know others are researching this same topic...
jQuery draggable + droppable: how to snap dropped element to dropped-on element http://stackoverflow.com/questions/1254665/jquery-draggable-droppable-how-to-snap-dropped-element-to-dropped-on-element thanks to karim79 for that suggestion. I probably won't win any Awesome Code prizes with this so if you see room for improvement please share jquery draggable droppable share improve this question I had a similar problem I worked around it by manually..
Loading Partial Page With Angular and Compile The Controller http://stackoverflow.com/questions/12987001/loading-partial-page-with-angular-and-compile-the-controller tools or framework. That's OK keep doing that. This might not be a cool or ultimatum solution please share any improvement or tips with us To overcome this problem we need s strategy to setup let me start with an example code so our brain will..
Web Page Source Annotation Tool http://stackoverflow.com/questions/14244498/web-page-source-annotation-tool within the inspected view and save the edited page. This helps alleviate some burden but still there's much room for improvement. The ideal tool I'd like to have is one with which I can select the target text from the page within a browser pick the..
Simulate native click http://stackoverflow.com/questions/1786377/simulate-native-click onClick Redirect if necessary if ev_reference.isDefaultPrevented window.location el.attr 'href' Any suggestions for improvement are welcome. PS Yes it's just how a regular link would work except you can do some other processing in between. PPS No just..
Jquery gets loaded only on page refresh in rails 4 application http://stackoverflow.com/questions/17881384/jquery-gets-loaded-only-on-page-refresh-in-rails-4-application
How can I implement Stack Overflow-like watermarks in forms? http://stackoverflow.com/questions/2260367/how-can-i-implement-stack-overflow-like-watermarks-in-forms Update I recently found a jQuery plugin In Field Labels that does exactly what i want. Also here's the link to an improvement of the same plugin. jquery html css forms placeholder share improve this question You may want to start from this input..
Need an ASP.NET MVC long running process with user feedback http://stackoverflow.com/questions/2927284/need-an-asp-net-mvc-long-running-process-with-user-feedback
Highlight text as you type on textarea http://stackoverflow.com/questions/3282505/highlight-text-as-you-type-on-textarea the textarea on top is transparent and the div underneath contains the rich hightlighted version. There is room for improvement when it comes to wrapping text but you get the idea. Happy Highlighting Credit The preg_quote function is from Kevin van..
Javascript (jQuery) performance measurement and best practices (not load time) http://stackoverflow.com/questions/400836/javascript-jquery-performance-measurement-and-best-practices-not-load-time the sense that having fewer hooked DOM elements makes things slightly better but the overall experience still needs improvement with large pages. I should mention that since the site is AJAX heavy lots is loaded via AJAX as opposed to initial HTTP..
Avoid jquery conflict in my jsf application http://stackoverflow.com/questions/4459174/avoid-jquery-conflict-in-my-jsf-application i load the jquery the link action and menu action are not worked. i use jQuery.noConflict and .noConflict But no more improvement. Actually why this problem occur when i load the jquery. head meta http equiv Content Type content text html charset UTF..
.prop() vs .attr() http://stackoverflow.com/questions/5874652/prop-vs-attr If you've only ever used jQuery and not the DOM directly this could be a confusing change although it is definitely an improvement conceptually. Not so good for the bazillions of sites using jQuery that will break as a result of this change though. I'll..
API design and jQuery http://stackoverflow.com/questions/6063874/api-design-and-jquery enough JavaScript to make good design decisions and will be subject to such a problem as I've described. In terms of improvements within the intended philosophy of the library as far as I know their philosophy is Do more write less or something. I think.. that it seems like you can just run a selector every time you need an element even if you just ran that selector. An improvement I think would be for the jQuery function to log repeated uses of a selector and give a console note that a selector can..
jQuery, MVC3: Submitting a partial view form within a modal dialog http://stackoverflow.com/questions/6443337/jquery-mvc3-submitting-a-partial-view-form-within-a-modal-dialog error message so that on the client side you could act accordingly return Json new success true The final part for improvement is this PartialEdit id.toString Never do such url hardcoding in an ASP.NET MVC application. Always use url helpers when..
Just disable scroll not hide it? http://stackoverflow.com/questions/8701754/just-disable-scroll-not-hide-it I just proposed this way only because you wouldn't need to change any scroll event Update You could also do a slight improvement if you get the document.documentElement.scrollTop property via javascript just before you open the layer you could dynamically..
Format date in jQuery http://stackoverflow.com/questions/9050763/format-date-in-jquery s d.getSeconds 2 and use it like that getISODateTime new Date or getISODateTime some_other_date EDIT I have added some improvement to the function as proposed by Ates Goral also decreased its readability in favour of code comments . share improve this..
|