Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-23-2012, 06:16 PM   PM User | #1
TravisT6983
New Coder

 
Join Date: Jul 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
TravisT6983 is an unknown quantity at this point
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
TravisT6983 is offline   Reply With Quote
Old 10-23-2012, 06:51 PM   PM User | #2
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,307
Thanks: 12
Thanked 204 Times in 204 Posts
DanInMa is on a distinguished road
Code:
tipContent: '<form> <input type="button"></form>',
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Old 10-23-2012, 08:00 PM   PM User | #3
TravisT6983
New Coder

 
Join Date: Jul 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
TravisT6983 is an unknown quantity at this point
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?
TravisT6983 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:15 PM.


Advertisement
Log in to turn off these ads.