Questions et réponses pour le attributes :

La balise attributes doit être utilisée pour tout problème lié à une propriété d'un objet, d'un élément ou d'un fichier, etc.

7
votes
$('div.item').click(function() { var getvalue = $('this > p > img').attr('rel'); alert(getvalue); }); ...

7
votes
J'ai besoin d'une fonction ou d'un code pour supprimer un attribut d'un jeu lorsqu'il est attribué à. Je connais la fonction, pour attribuer un attribut: xxx ...

7
votes
J'ai le code suivant $(document).keydown(function(e){ if (e.keyCode == 37) { $('.getty').attr("id"); return false; } }); if (e.keyCode == 33) { $('.getty').at ...

7
votes
D'accord, je suis très nouveau à C # et j'essaie de créer un petit site Web à l'aide de ASP MVC2. Je souhaite créer mon propre attribut d'autorisation. Mais ...