Hello. I used html code from "SPWF01Sx – dynamic web pages" Output demo – multiple text boxes with script which allows skipping the automatic redirect. But after pressing submit button it redirect to output_demo.html. Why?
Because it's built on top of HTTP GET request. Request for some html resource. Which one? That one.
Hard to understand you. Can I skip automatic redirect or not? In AN4902 Application note SPWF01Sx – dynamic web pages. In this App.note on page 32 i have read following: "The script section of the code enables skipping of the automatic redirect " But in real after insert and submit this html code produce redirect.
Without any help from higher than HTML level, since HTTP must give back something, your browser can not skip the result/redirect. AN4902 uses jquery, and this means it tells the browser (e.g.) to ignore the result of the request.
Think about an html with 10 pushbuttons to send 10 "output_demo" requests to module's UART. Browser must not update the content of the page when an output_demo is sent.
Retrieving data ...