Hi, can some html expert help me understand why the following code line does work using the latest firefox version. It works fine in IE, but with the new version of firefox v44 it doesn't work anymore. Can someone explain how I can fix this problem so it's cross browser compatible? It appears to be with the handling of location.href I think.
With the following line of code executed from in Firefox:
c.println( F("<input type=button value='Lock Close' onmousedown=location.href='./?1-off'>
"));
I get this response back below which is missing the GET /?1-off:
GET / HTTP/1.1
With the following line of code executed in Microsoft Edge:
c.println( F("<input type=button value='Lock Close' onmousedown=location.href='./?1-off'>
"));
I get this response below which works because the GET /?1-off is there:
GET /?1-off HTTP/1.1
Does anyone have a clue to my problem?
Tnx.