It seems that the Drupal Ajax API are comming a little un handy for my current project so i was trying to do the ajax request the good old way with actual Javascript.
I have this code
valdBut.click(function(event){
event.preventDefault();
jQuery.ajax({
type: "POST",
dataType: 'json',
data: grabValue(),
url: urkl,
success: function () {
alert(back)
}
});
alert(grabValue())
})
What i am wondering is how should i link that URL value to my module page, so that my user_login hook receive the data sent via Ajax ?
Thanks for any help, Manu