01-06-2016, 03:21 AM
(This post was last modified: 01-06-2016, 05:35 PM by wolfgang1983.)
I am working on my custom html editor for my codeigniter project. Where I can also preview code which is below editor as typing which works fine.
The problem I am having is if I wrap the panel in a form tag the preview does not work properly it goes away for some reason.
But when I do not have form tag it works fine.
Codepen Code View
Codepen Full View
I need to be able to make it work to be able to use the form but not sure why preview div will not work properly with form tag,
I have commented out the form tag on codepen.
Any suggestions and examples on how to solve this cheers.
The problem I am having is if I wrap the panel in a form tag the preview does not work properly it goes away for some reason.
But when I do not have form tag it works fine.
Codepen Code View
Codepen Full View
I need to be able to make it work to be able to use the form but not sure why preview div will not work properly with form tag,
I have commented out the form tag on codepen.
Any suggestions and examples on how to solve this cheers.
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!