diff options
author | prashantsinalkar | 2016-04-07 16:18:04 +0530 |
---|---|---|
committer | prashantsinalkar | 2016-04-07 16:18:04 +0530 |
commit | f45d48b9da8764141edbf5dc10d0b17f01870ed3 (patch) | |
tree | 2607d2f958e60380327f655d85e517c90226e469 /js/textbook_companion.js | |
parent | 64b7656aa8140441e07a96218085fe3b55595681 (diff) | |
download | scilab_textbook_companion-f45d48b9da8764141edbf5dc10d0b17f01870ed3.tar.gz scilab_textbook_companion-f45d48b9da8764141edbf5dc10d0b17f01870ed3.tar.bz2 scilab_textbook_companion-f45d48b9da8764141edbf5dc10d0b17f01870ed3.zip |
added category in book proposal and edited mail function
Diffstat (limited to 'js/textbook_companion.js')
-rwxr-xr-x | js/textbook_companion.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/js/textbook_companion.js b/js/textbook_companion.js index bbbb851..10bb3d2 100755 --- a/js/textbook_companion.js +++ b/js/textbook_companion.js @@ -1,6 +1,7 @@ -$( document ).ready(function() { +(function ($) { //to search - $('#searchtext').keyup(function(event) { +$(document).ready(function(){ +$('#searchtext').keyup(function(event) { var search_text = $('#searchtext').val(); var rg = new RegExp(search_text,'i'); $('#aicte-list-wrapper .title , .form-item' ).each(function(){ @@ -206,5 +207,5 @@ $report_form.submit(function(e) { } e.preventDefault(); }); - }); +})(jQuery); |