Reply to comment

tambahan:
mungkin perlu untuk encodeURIComponent params nya, kalau yg di pass di parameter mengandung karakter aneh semacam plus, persen atau pager

misal:
var params = "lorem=ipsum&name=" + encodeURIComponent(document.getElementById("form").value);

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options