how can i send a string value to a sever with java script without submit method?
i know i can use jquery or ajax but is there any other way to do that without any library?
i searched in Google and i find some good links:
How to send data to remote server using Javascript
http://bytes.com/topic/html-css/answers/154271-post-data-server-javascript-client-side
but all of them said we should use jquery or ajax
AJAX isn’t a library – it’s built into Javascript, and is available on pretty much all browsers from even IE6 onwards.
You can find full tutorials and instruction here: https://www.w3schools.com/js/js_ajax_intro.asp