Hello,
i want to optimize my code.
Example:
$(document).ready(function() {
$('.message_subject').click(function() {
var msgBox = $(this).parent().parent().parent();
var msgID = msgBox.attr('id');
msgBox.find('.message_text').slideToggle('
Hello,
i want to optimize my code.
Example:
$(document).ready(function() {
$('.message_subject').click(function() {
var msgBox = $(this).parent().parent().parent();
var msgID = msgBox.attr('id');
msgBox.find('.message_text').slideToggle('
2 matches
Mail list logo