Re: s:textfield jquery can not change placeholder

2014-07-25 Thread john lee
Thanks Chris.   It is solved after apply ID     On Friday, July 25, 2014 3:04 PM, Chris Pratt wrote: Make sure you set the "id" attribute on the s:textfield if you're going to refer to it that way using jQuery.   (*Chris*) On Fri, Jul 25, 2014 at 12:30 PM, john lee wrote: > > I can us

Re: s:textfield jquery can not change placeholder

2014-07-25 Thread Chris Pratt
Make sure you set the "id" attribute on the s:textfield if you're going to refer to it that way using jQuery. (*Chris*) On Fri, Jul 25, 2014 at 12:30 PM, john lee wrote: > > I can use jquery to change html input tag's placeholder for no problem, > but no matter what method I use, impossible f

s:textfield jquery can not change placeholder

2014-07-25 Thread john lee
  I can use jquery to change html input tag's placeholder for no problem, but no matter what method I use, impossible for me to change   s:textfield's placeholder. I tried $('#partid').attr('placeholder','XXX');     and     $('#partid').val('XXX');     and $('#partid').text('XXX');   s:t