php - form updated by javascript missing post values -


I have a form I advertise an element before submitting JavaScript.

  Parent Documents. Get Element BIID ('contractual' + ID). WinnerHTML = '& lt; Img class = "image_real" src = "/ images / site.png" alt = "mostly dirty" /> & lt; Input class = "real" name = "freshness" type = "text" size = "5" maximum length = "6" /> & Lt; A href = "#" onClick = "Submit Submit ('+ [ID] +'); Return Back;" & Gt; & Lt; Img id = "submitcommentimg"; Php echo $ id;? & Gt; " Src = "images / check.png" alt = "comment!" Border = "0" & ​​gt; & Lt; / A & gt; & Lt; Div class = "submitcommentalert" id = "comment_alert_ <" php echo $ id;? & Gt; " Style = "display: none" & gt; Comment posted! & Lt; / Div & gt; ';  

When the form is submitted, it seems that 'FREQUENCY' & lt; Input & gt; << Code> $ _ POST ['Freshness']; This is empty.

div class = "post-text" itemprop = "text">

There is no value attribute in freshness, this problem can be Have you seen $ _POST ['Freshness'] (existing ())?


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -