1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Converting Javascript to Jquery

Discussion in 'jQuery' started by forumposters, Mar 16, 2007.

  1. #1
    Anyone want to help me convert the following line of code from javascript to jquery?

    $(fileObj.name).innerHTML += "<img class='floatLeft' src='/folder/images/"+fileObj.name+"' width='84'> ";
     
    forumposters, Mar 16, 2007 IP
  2. Aragorn

    Aragorn Peon

    Messages:
    1,491
    Likes Received:
    72
    Best Answers:
    1
    Trophy Points:
    0
    #2
    AFAIK, unless you are using the protocol library, the above statement is a valid jQuery statement.
     
    Aragorn, Mar 18, 2007 IP