Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A2BCC10FD9 for ; Thu, 26 Feb 2015 22:57:42 +0000 (UTC) Received: (qmail 74822 invoked by uid 500); 26 Feb 2015 22:57:38 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 74780 invoked by uid 500); 26 Feb 2015 22:57:37 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 74768 invoked by uid 99); 26 Feb 2015 22:57:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2015 22:57:37 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FORGED_YAHOO_RCVD,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lilylove2shop@yahoo.com designates 98.138.121.149 as permitted sender) Received: from [98.138.121.149] (HELO nm50-vm5.bullet.mail.ne1.yahoo.com) (98.138.121.149) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2015 22:57:09 +0000 Received: from [127.0.0.1] by nm50.bullet.mail.ne1.yahoo.com with NNFMP; 26 Feb 2015 22:57:03 -0000 Received: from [98.138.100.113] by nm50.bullet.mail.ne1.yahoo.com with NNFMP; 26 Feb 2015 22:53:57 -0000 Received: from [98.138.88.232] by tm104.bullet.mail.ne1.yahoo.com with NNFMP; 26 Feb 2015 22:53:10 -0000 Received: from [127.0.0.1] by omp1032.mail.ne1.yahoo.com with NNFMP; 26 Feb 2015 22:53:10 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 269680.13115.bm@omp1032.mail.ne1.yahoo.com X-YMail-OSG: w5htHcUVM1mvMz4MNOloBky3NtfDUrg2CDUb4d0QHiLwvwiSkrhxi0fzGX1RRP_ syq.S_yFEB3RNtzKcjT1WALXA3AaEl7m4soGly5GazOBW_7Z803hm9wm_4LI4KiAqVwtdLxu8FMl mBhI7Rg7KqgMjhgTVsDF_BXH7GR2t3PVLnR2oQwlskCbyI6x2TUJE2PBjqh8EB3fnD6CH5M70iUD ILgAKf5Fs_w8rJMcIkDy3coUfXf.47AYpaBiem0LtqKCzZf0tEGGgrVk2bNyERtW38yYr0sHjQU_ Fu2xZE.iu.xBVNrUa2vGfyOH2zq6EZ_qdA7LhJ_DslxorTw2L1FUHofAOl3od6CEbXTVc6ZqZgdV x1bYzQnQ0czhaihZkFH2WJ7PrjREEpp1Sy_058jCxjn5Cw1wqNhTNRzYJfOKMmGpjxhITPBgbmOD p0dHS_yVM_OpKgPMgE8WPPwFtRN5F8HaWDtI9z3OalxKt9Ll93gv.GlQ0ACjp1tT_BbCVsAUTLtq QS1riAcCTkqOa Received: by 98.138.105.246; Thu, 26 Feb 2015 22:53:09 +0000 Date: Thu, 26 Feb 2015 22:53:09 +0000 (UTC) From: Lilylove toshop Reply-To: Lilylove toshop To: Struts Users Mailing List Message-ID: <1919947.840154.1424991189190.JavaMail.yahoo@mail.yahoo.com> Subject: Change the background color of each element in the dropdown list MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_840153_993090077.1424991189187" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_840153_993090077.1424991189187 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have a dropdown search box which includes All, Open, Closed. I want to make the background=C2=A0color changes based on the=C2=A0element = selected from the list.=C2=A0=C2=A0Background is green if 'Open' is selecte= d,=C2=A0blue - 'All, red - 'Closed'.=C2=A0 Could you please help how to do = this using struts2 tag?=C2=A0 Thanks a lot Regards,Lily=C2=A0=C2=A0 ------=_Part_840153_993090077.1424991189187--