Click here to Skip to main content
12,695,624 members (26,856 online)

JavaScript

 
AnswerRe: Regular Expression Pin
AspDotNetDev24-Jan-13 15:09
protectorAspDotNetDev24-Jan-13 15:09 
QuestionHow to put clipboard data into TextBox Pin
Ravindra Bisen10-Jan-13 1:02
memberRavindra Bisen10-Jan-13 1:02 
AnswerRe: How to put clipboard data into TextBox Pin
J4amieC10-Jan-13 3:39
memberJ4amieC10-Jan-13 3:39 
AnswerRe: How to put clipboard data into TextBox Pin
Ravindra Bisen14-Jan-13 22:50
memberRavindra Bisen14-Jan-13 22:50 
GeneralRe: How to put clipboard data into TextBox Pin
itzzmearun29-Jan-13 21:18
memberitzzmearun29-Jan-13 21:18 
GeneralRe: How to put clipboard data into TextBox Pin
DaveAuld31-Jan-13 3:56
mentorDaveAuld31-Jan-13 3:56 
QuestionjQuery: live() function Pin
Phanindra2619-Jan-13 1:27
memberPhanindra2619-Jan-13 1:27 
AnswerRe: jQuery: live() function Pin
J4amieC9-Jan-13 1:39
memberJ4amieC9-Jan-13 1:39 
They hide that sort of information in the documentation[^], the little buggers!

Use of the .live() method is no longer recommended since later versions of jQuery offer better methods that do not have its drawbacks. In particular, the following issues arise with the use of .live():

    jQuery attempts to retrieve the elements specified by the selector before calling the .live() method, which may be time-consuming on large documents.
    Chaining methods is not supported. For example, $("a").find(".offsite, .external").live( ... ); is not valid and does not work as expected.
    Since all .live() events are attached at the document element, events take the longest and slowest possible path before they are handled.
    On mobile iOS (iPhone, iPad and iPod Touch) the click event does not bubble to the document body for most elements and cannot be used with .live() without applying one of the following workarounds:
        Use natively clickable elements such as a or button, as both of these do bubble to document.
        Use .on() or .delegate() attached to an element below the level of document.body, since mobile iOS does bubble within the body.
        Apply the CSS style cursor:pointer to the element that needs to bubble clicks (or a parent including document.documentElement). Note however, this will disable copy\paste on the element and cause it to be highlighted when touched.
    Calling event.stopPropagation() in the event handler is ineffective in stopping event handlers attached lower in the document; the event has already propagated to document.
    The .live() method interacts with other event methods in ways that can be surprising, e.g., $(document).unbind("click") removes all click handlers attached by any call to .live()!


QuestionGoogle+ login on my website Pin
marcbase8-Jan-13 12:16
membermarcbase8-Jan-13 12:16 
AnswerRe: Google+ login on my website Pin
Sandeep Mewara8-Jan-13 18:45
mvpSandeep Mewara8-Jan-13 18:45 
QuestionQuestion Pin
nth926-Jan-13 7:25
membernth926-Jan-13 7:25 
AnswerRe: Question Pin
Richard MacCutchan6-Jan-13 7:32
mvpRichard MacCutchan6-Jan-13 7:32 
AnswerRe: Question Pin
ProgramFOX6-Jan-13 8:13
member ProgramFOX6-Jan-13 8:13 
AnswerRe: Question Pin
J4amieC8-Jan-13 1:52
memberJ4amieC8-Jan-13 1:52 
AnswerRe: Question Pin
Keith Barrow8-Jan-13 2:30
mentorKeith Barrow8-Jan-13 2:30 
QuestionSharepoint - Aggregate lists with JavaScript Pin
garfield1853-Jan-13 4:38
membergarfield1853-Jan-13 4:38 
QuestionBrowser Back Button Pin
tiger1463-Jan-13 2:58
membertiger1463-Jan-13 2:58 
AnswerRe: Browser Back Button Pin
Keith Barrow3-Jan-13 4:03
mentorKeith Barrow3-Jan-13 4:03 
GeneralRe: Browser Back Button Pin
tiger1468-Jan-13 0:19
membertiger1468-Jan-13 0:19 
GeneralRe: Browser Back Button Pin
Keith Barrow8-Jan-13 2:41
mentorKeith Barrow8-Jan-13 2:41 
AnswerRe: Browser Back Button Pin
Sandeep Mewara4-Jan-13 3:55
mvpSandeep Mewara4-Jan-13 3:55 
AnswerRe: Browser Back Button Pin
twseitex8-Jan-13 7:56
membertwseitex8-Jan-13 7:56 
AnswerRe: Browser Back Button Pin
Anjum.Rizwi15-Jan-13 22:20
memberAnjum.Rizwi15-Jan-13 22:20 
AnswerRe: Browser Back Button Pin
vinodkumarnie18-Jan-13 23:33
membervinodkumarnie18-Jan-13 23:33 
AnswerRe: Browser Back Button Pin
Deepak Kr17-Feb-13 23:26
memberDeepak Kr17-Feb-13 23:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.170118.1 | Last Updated 19 Jan 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid