Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Turn variables into jQuery objects

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33367
    soap
    Participant

    Hey everybody,

    how would i turn something like this

    var elemTitle = $(this).attr('title');
    var tipContent = '
    '+elemTitle+'
    ';

    into a jQuery object that i can apply things like hide() to before it ever shows up on the page?

    Thanks!

    #83029
    soap
    Participant

    oh durr, thanks mate

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.