Re: html:select / DIV / document.getElementById(why).innerHTML

2007-09-16 Thread Martin Gainty
M-- - Original Message - From: "john lee" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Cc: <[EMAIL PROTECTED]> Sent: Saturday, September 15, 2007 1:08 PM Subject: Re: html:select / DIV / document.getElementById(why).innerHTML > Dave, > >

Re: html:select / DIV / document.getElementById(why).innerHTML

2007-09-15 Thread Dave Newton
--- john lee <[EMAIL PROTECTED]> wrote: > my jsp just have struts property="studentname"> and value="john"/> and only. HTML input element tags are only valid inside an tag. Your fragment does not have a containing tag; since you are returning it with an Ajax call that won't work. That's wh

Re: html:select / DIV / document.getElementById(why).innerHTML

2007-09-15 Thread john lee
Dave, tks for ur help, I not quite understand your input. my problem is: if output just generate plain html tag, the output result with dropdown list is fine, but if try to generate struts tag, then output display without dropdown list, data still there. my jsp just have strut

Re: html:select / DIV / document.getElementById(why).innerHTML

2007-09-15 Thread Dave Newton
--- john lee <[EMAIL PROTECTED]> wrote: > after calling document.getElementById(why).innerHTML, > the output of "html:select" why can not be recognized > by struts? IIRC the S1 form tags rely on there being an and will break w/o it (I could definitely be wrong on this point). If this is the cas