Created
September 30, 2011 10:09
-
-
Save bluemango/1253340 to your computer and use it in GitHub Desktop.
Add search box on empty search results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
if ( | |
($('.site-search #screensteps-inner-content').length > 0) || ($('.manual-search #screensteps-inner-content').length > 0) | |
) | |
{ | |
if ($('#found-lessons').length < 1) | |
{ $('#screensteps-inner-content').append("<h2>Submit a ticket</h2>") } | |
} | |
}); | |
// Just replace <h2>Submit a ticket</h2> with the actual HTML you would like to insert. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just replace
Submit a ticket
with the actual HTML you would like to insert.