Hi all!
I hava a simple question. I have a server running which take actions according to parameters in the url.
Example: if I type in browser: http://localhost:8081/Edit?action=renameModule&newName=Module2
This works correctly.
I would like to know the equivalent jquery ajax method to perform the same thing
I have tried
$.ajax({ url: 'http://localhost:8081/Edit', type: 'GET', data:'action=renameModule&newName=Module2 });
It is not working.
I would be very grateful for any help.
Thanks