Is this onClick JavaScript event is not accepting in POST section?
-
Hi there,
I am writing a blog post on my WordPress website and I need show following HTML code:
<button type=”button” onclick=”getData()”>Get Data</button>
Now, if I press the preview button then it’s showing me Post Not Found Error message. Very strange? If I change the onClick to something else then it’s working. So I think the issues on the onClick event.
Can you tell me how can I solve it?
Note: I am writing a tutorial blog about HTML, CSS, etc. I need to show a textual version of that code.
Thank You.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Is this onClick JavaScript event is not accepting in POST section?’ is closed to new replies.