|
QTip for validation
|
|
18th March, 19:12
Post: #1
|
|||
|
|||
|
QTip for validation
I'm trying to use qTip for validation. When the user clicks on the search button and there is no search term entered, I want the error message to display. The code works, but the qTip does not go away on blur. This this the right approach? Has anyone used qTip for validation? Should it be used for validation?
searchBox.qtip({ content: 'Please enter search term', show: false, hide: 'blur' }); searchButton.click(function() { if (searchBox.val() == '') { searchBox.qtip('api').show(); searchBox.focus(); return false; } }); Thanks, Jon |
|||
|
18th March, 22:56
Post: #2
|
|||
|
|||
|
QTip for validation
Hi JontyMC,
Can't see why qTip isn't as good an option as any for validation use. At the moment beta2's show: false functionality is broken, but beta3 is due out in the next few hours which fixes this problem ,o stayed tuend on the forums for the release announcement. Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| [Solved] qTip input fields validation not working with display:none | Maverick | 6 | 1,419 |
25th July 16:44 Last Post: Maverick |
|
| post ajax from qtip2/validation form | jquerynewb | 4 | 1,349 |
14th July 08:19 Last Post: Craig |
|
| [Solved] How to display php errors in a login validation usign qTip? | mbarros | 1 | 1,462 |
20th November 23:56 Last Post: mbarros |
|
| qtip + jquery validation not showing the title of the input | mbarros | 3 | 1,816 |
16th November 23:13 Last Post: Craig |
|
| Using qtip with jQuery validation framework | mutleyoz | 2 | 3,456 |
9th June 08:23 Last Post: lounge |
|
| [Solved] Trigger qtip on validation failure | franko75 | 3 | 1,576 |
4th May 11:11 Last Post: franko75 |
|
| Validation XHTML | abtip | 6 | 1,326 |
11th October 00:30 Last Post: Craig |
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help





