Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- $("#dropMenu li").click(function() {
- passSearch($(this).children("a:first").text().toLowerCase());
- });
- });
- function passSearch(engine) {
- var query = $("#txtSearch").val();
- if ( engObj[engine] ) {
- window.open(engObj[engine] + query);
- }
- };
Add Comment
Please, Sign In to add comment