Hi, I apologize for my question…I’m still learning node.js. I just want to ask what is the version of jquery.ajax if we use node.js ?..I mean, that we can send parameter to server with specified url and grabbing the response data that was returned from the server and do something with it…just like what i did in jquery.ajax,example
$.ajax({
type:'post',
data: 'mydata',
url:'tomyphpfile',
success:function(data){
//do somehting with the data
}
});
I’m not really sure what you mean. You have to install the module from the command line/terminal, but obviously you’ll use it within a .js file that you’re running on Node.
PS. Just a heads up, you don’t really need to tag people unless you want to notify someone who is not already part of the conversation. If you just hit the reply button beside any of my posts in this thread then I’ll get a notification