When I run my code on the HTTP Internet Explorer browser it works fine but when I run the same code on HTTPS If I try, I do not get expected results.
This is my code:
& lt ;! DOCTYPE html & gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Script src = "js / jquery-1.4.2.min.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; Click (function ("event"); $ .post ('process.php', {name: 'test1', email: 'test.com'}, function (data) {$ ('# Results'). Html (data); alert (data);});});}); & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Form name = "myform" id = "myform" action = "" method = "post" & gt; & Lt; Label = "name" id = "name_label" & gt; Name & lt; / Label & gt; & Lt; Input type = "text" name = "name" id = "name" size = "30" value = "" /> & Lt; Br> & Lt; Label = "email" id = "email_label" & gt; Email & lt; / Label & gt; & Lt; Input type = "text" name = "email" id = "email" size = "30" value = "" /> & Lt; Br> & Lt; Input type = "button" name = "submit" id = "submit" value = "submit" & gt; & Lt; / Form & gt; & Lt; Div id = "result" & gt; & Lt; Div & gt; & Lt; / Body & gt; & Lt; / Html & gt; I'm getting a warning box here with a fine button. But the problem is that when I click on that fine button I do not get anything
please thank you in advance
I got the answer.
is to include a header file header ("content-type: text / html; charset = ISO-885 9-1");
Comments
Post a Comment