rahul1671986 / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

Unable to highlight entered search term like google in drop down search results #1096

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )

What is the expected output? What do you see instead?

Which struts2 version?: Struts2 2.3.15;

Which struts2-jquery plugin version?: struts2-jquery-plugin-3.6.1

Hi Team, 

I am try to bold(highlight) search term which is entered in search box, but i 
am not able to do it.

is there any way to do it with Struts Jquery?

Please let me know how can i achieve this with Struts jquery.

Looking forward hearing from you.

Original issue reported on code.google.com by rajvaish...@gmail.com on 10 Apr 2014 at 12:34

GoogleCodeExporter commented 9 years ago
How do you have tried it? Which component do you have used for this? Select 
Box, Select Box with autocomplete or the Autocompleter?

Original comment by johgep on 28 Apr 2014 at 12:55

GoogleCodeExporter commented 9 years ago
Hi, 

I am using like below: 
<sj:autocompleter
                id="someid"
                name="someName"
                list="ListOfWords"
                loadMinimumCount="3"
                forceValidOption="false"  
                cssClass="form-field-input" cssStyle="height:15px;"
                />

What i want to do is when user enter some text in field in that case generated 
value should highlighted; Something like this; but in my case entered text 
should be highlighted.

Original comment by rajvaish...@gmail.com on 8 May 2014 at 12:24

Attachments:

GoogleCodeExporter commented 9 years ago
In this case you should simply overwrite the css classes provided by jQuery UI 
autocompleter widget.

Also take a look at the jQuery themeroller for custome look and feel.
http://jqueryui.com/themeroller/

Original comment by johgep on 13 May 2014 at 6:37