Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding HTML to content in javascript

    I am trying to add a form inside of a tooltip for an advanced search. This is going to have a form and a table in it.

    The plugin i am using is this one... http://ara-abcarians.com/jquery/atooltip/

    I am wondering if there is something that i can use to make this line recognize that this is html inside of here.
    Code:
    tipContent: 'Basic HTML Table and Form',  // Pass in content or it will use objects 'title' attribute
    Or if i could do it in the Title Attribute that would work as well.

    Any help would be great i am very basic with javascript

    Thanks

  • #2
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    Code:
    tipContent: '<form> <input type="button"></form>',

  • #3
    New Coder
    Join Date
    Jul 2008
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by DanInMa View Post
    Code:
    tipContent: '<form> <input type="button"></form>',
    I see its easy to add in the form but what about an HTML table?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •