Wednesday, 15 April 2015

javascript - Button 'onclick' doesn't work in Internet Explorer -


I am testing web applications with spring MVC 3 and I'm facing an error that I can not do. / P>

I have a controller who gives me a list of data from DB which is handled with a forEach statement in JSP Also, first I have a form Which will be displayed in the jquery-ui dialog after clicking on a button.

My JSP looks like this:

  & lt; Html & gt; / ** * * ** / & lt; C: forEach item = "$ {listaFecha}" var = "fec" & gt; & Lt; TR & gt; & Lt; Td> & Lt; C: out value = "$ {fec.id}" /> gt; & Lt; / Td> & Lt; Td> & Lt; C: out value = "$ {fec.NOM_ASUNTO}" /> gt; & Lt; / Td> & Lt; Td> & Lt; Fmt: formatDate value = "$ {fec.FEC_INICIO}" pattern = "dd-MMM-YYYY" /> gt; & Lt; / Td> & Lt; Td> & Lt; Fmt: formatDate value = "$ {fec.FEC_FIN}" pattern = "dd-MMM-YYYY" /> gt; & Lt; / Td> & Lt; Td> & Lt; C: Out value = "$ {fec.PERIODO}" /> gt; & Lt; / Td> & Lt; Td> & Lt; Button ID = "faqIE $ {fec.id}" value = "$ {fec.id}" onclick = "changeFec ($ {fec.id})" & gt; Editor & lt; / Button & gt; & Lt; / Td> & Lt; / TR & gt; & Lt; Div id = "edit-form $ {fec.id}" square = "edit" style = "text-line: center;" Title = "editor fade" & gt; & Lt; / Br & gt; & Lt; Form name = "fechasE" method = "POST" target = "_ parent" action = "& lt; c: url value =" / management / insertaForm "/> id =" form2E $ {fec.id} "& Gt; & lt; label style = "margin-right: 133 pixels;" & gt; Tipo de nullitize: & lt; / labels & gt; & lt; / br & gt; & lt; input type = "text" class = "Fields" name = "asE" value = "$ {fec.NOM_ASUNTO}" disabled />  
Label style = "margin-right: 158 pixels;" & gt; Fecha Encyclical: & lt; / labels & gt; & lt; / br & gt; & lt; input type = "text" class = "fields" name = "date1E" value = "& lt; Fmt: formatDate value = "$ {fec.FEC_INICIO}" pattern = "dd-MMM-YYYY" /> / & Gt; & Lt; / Br & gt; & Lt; Label style = "margin-right: 165px;" & Gt; Fecha Final: & lt; / Label & gt; & Lt; / Br & gt; & Lt; Input type = "text" class = "fields" name = "date2E" value = "& lt; fmt: formatDate value =" $ {fec.FEC_FIN} "Pattern =" dd-MMM-YYYY "/> Gt; gt; & lt; / b & gt; & lt; / form & gt; & lt; / div & Gt; & lt; / c: foreach & gt; / ** * * ** /