Hi Noppy
Thanks so much for your reply.
Your post has got me thinking of another way to approach this. Basically, I found a script that validates HTML tags and ensures that they are closed. I found the script here:
http://jona.ca/blog/unclosed-tag-finder
It works great but I need the script to do a little more that it currently does. I have outlined my issue in a separate post which can be viewed here:
Hi guys
I’m looking to adapt a code (see below) that I found on the web. The script basically validates whether html tags have been closed within the code that has been inputted in the a textarea. It works brilliantly but for the one thing I need it to do.
Run the script and then add your HTML code to the textarea. Click on the “Submit” button and the script will display a message telling you whether there are any unclosed tags.
However, what I need is the form to actually submit the data IF …
Again, any help would be fully appreciated
Best regards
Rod from the UK