From 1052ebf78efe0c41ee44954be8de76eaca2dfbe7 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 12 Feb 2014 17:52:59 +0000 Subject: [PATCH] Tweak dictionary-lookup example to work correctly without using IDs. --- examples/htdocs/dict.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/htdocs/dict.html b/examples/htdocs/dict.html index b278d45..7f4e56a 100644 --- a/examples/htdocs/dict.html +++ b/examples/htdocs/dict.html @@ -53,9 +53,9 @@ //console.log("click: " + sel + " clicking=" + clicking ); if ( sel != "" && ! clicking ) { clicking = true; - $("input#mkwsQuery").val(sel); + $("input.mkwsQuery").val(sel); //console.log("click: Set value " + sel + " clicking=" + clicking ); - $("input#mkwsButton").trigger("click"); + $("input.mkwsButton").trigger("click"); clicking = false; } } -- 1.7.10.4