java - Input Text Design Issue for a search Box -


i doing java web application has 1 search box.

  <input type="text" id="twotabsearchtextbox" title="search for"     value="${requestscope['searchkey']}" name="searchkey"     autocomplete="off" class="tftextinput" data-nav-tabindex="10"     tabindex="1"/> 

if search regular works fine. if search

`<div id="test"> </div>` 

something html content searches fine design break completely. why happens? wen search apple comes in value section , if search html content coming in value section. how avoid problem?

have tried stringescapeutils.unescapehtml(you-search-value);


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -