I have the following: http://jsfiddle.net/mVs9T/13/
Can someone tell me why the output prints
<br>
instead:
<br/>
like here: http://f.imgtmp.com/Xjoq3.png
We added alert(txt); and he gave us <br/> - it looks good.
alert(txt);
Yes, since chrome interprets the <br /> tag. It is simply aesthetically pleasing; You do not need to worry about it.
<br />
This is the behavior of the browser. This should not be a problem.
Since nothing can pass between the <br> tag, the /> part is not needed. This is probably why the browser does not display it.
/>
Source: https://habr.com/ru/post/1413051/More articles:Changing the name of an ActiveX command button using VBA in Excel - vbaRegister a LongClick listener in a search engine - androidConfigure and use the Broker API in a .Net project - .netLink to command buttons added at runtime with VBA in Excel - vba.htacess redirect directory to one page - redirectjs forward slash does not print - javascriptCan startMethodTracing () return an error if the buffer is full? - androidPython equivalent: scipy.optimize () in c ++? - c ++PHP, MYSQL and Google Maps search radius - ajaxTable field description - MS Access - propertiesAll Articles