CodePudding user response:
Ajax + json basic is the most commonly used the simplest technology, there are other hidden iframe to get the data, and the WebSoket new, but is not convenientCodePudding user response:
Ajax is usually used, the bottom is also XMLHTTP request, websocket, real-time request is before and after the end, has always had a connection, are rather easy to use, in general, they had no difference of application scenarios they request protocol is different also, but with special needs to distinguish, baidu by oneself,CodePudding user response:
Generally with ajax is satisfied, special circumstances with websocket connection long, embedded iframeCodePudding user response:
Ajax!!!!CodePudding user response:
Ajax is goodCodePudding user response:
CodePudding user response:
Now all is the manner in which the ajax + JSON, using this way