Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbl Click
Message
De
14/11/2012 19:48:22
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Client-side développement
Titre:
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01556330
Message ID:
01557242
Vues:
60
This message has been marked as a message which has helped to the initial question of the thread.
I just meant making the changes to the line of code I showed below (from your code) just adding id to the function()

Don't know much about Firebug yet, or jQuery - Javascript either but this might help

http://www.developerfusion.com/article/139949/debugging-javascript-with-firebug/

BTW if you haven't done the Pluralsight course yet on jquery and the one John Pappa has done on HTML jQuery and Knockout I really recommend them.

I love jQuery and think I am finally starting to get this MVC4 stuff but like you I'm climbing the learning curve and clawing with my fingernails. <g>


>>Could it be as simple as making the id a param of the anonymous function call?
>>
>>$('tr').dblclick(function (id) {
>>
>Where this code should be placed and is there a way to find out why this code never fires?
>
>I found that I do have flexClients table
>
>
><div class="bDiv" style="height: auto;">
><table id="flexClients" class="autoht" cellspacing="0" cellpadding="0" border="0" style="">
><tbody>
><tr id="row81">
><td align="center" abbr="Id" style="display: none;">
><div style="text-align: center; width: 100px;">81</div>
></td>
><td align="center" abbr="Number">
><div style="text-align: center; width: 100px;">5031</div>
></td>
><td class="sorted" align="center" abbr="Name">
><div style="text-align: center; width: 350px;">Canaan</div>
></td>
><td align="center" abbr="Contact1">
><div style="text-align: center; width: 350px;"> </div>
></td>
></tr>
>


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform