Avatar

JavaScript and php changes needed

by ZackDark @, Not behind you. NO! Don't look., Saturday, February 16, 2013, 17:31 (4304 days ago) @ scarab

I'd have this be automatic. If a message has no non-blank non-comment text when the post button is pressed then the JavaScript sends an empty msg to the server. When the server delivers the page, the php script will check to see if there is any text in the msg - if it has then it adds a preview button for that msg - if it's empty then it adds nothing or a do nothing *NM* bitmap label.

But then we would lose the "NM on purpose" hidden messages...

:P

I quite liked your idea otherwise, though. I'll look into it, if Arithmo isn't already.


Complete thread:

 RSS Feed of thread