Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to correctly associate double click with the Edit?
Message
 
 
À
10/04/2013 10:44:27
Information générale
Forum:
Javascript
Catégorie:
JQuery
Divers
Thread ID:
01570547
Message ID:
01570612
Vues:
25
>>>>I know that the code itself attaches the handle correctly to dblclick (if I change the edit to alert, it fires).
>>>>
>>>>So, what I am doing wrong here and how should I adjust the above?
>>>>
>>>>Thanks a lot in advance.
>>>
>>>So the function gets called. What do you mean by 'nothing happens' ? Debug/Single step it.
>>
>>I mean it passes through the first line and then immediately to the last. It doesn't go inside the function body in the .trSelected part. I find it very hard to follow jQuery code so I usually try to do a step out.
>
>If it's not stepping into code after "$('.trSelected', grid).each(function () {" then it's obviously not finding any items for the 'each'. Do '.trSelected' and 'grid' both give valid values ?

Looks like that original solution worked again now in FireFox (although I had several break stops in the process). I am going to re-try in different browsers to make sure.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform