Can Cluetip handle input elements within the body of the tip?
March 17, 2008 - 11:17pm — charmoni
| Project: | clueTip - flexible, enhanced tooltip |
| Version: | 0.9.6 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
I think Cluetip is a really nice plugin for jquery.
While the documentation discusses retrieving content for the tip using Ajax, is there a way or method to have Cluetip display a tip with input fields (such as text, selects, checkboxes, etc) in such a way as to return the values of such fields upon submit or via a javascript function.
For example, if a php script generates the following HTML:
<?php
<a class='load-local' href='#loadme' rel='#loadme' name='mylink' id='mylink'>Name</a>
<div id='loadme' name='loadme'>
<input type='text' name='myname' id='myname' value='' />
</div>
?>A Cluetip call to this might be:
$('a.load-local').cluetip({local: true, cursor: 'pointer'});Can Cluetip set the value of the input field 'myname' such that the php script can retrieve it in the POST?