Good day Code A
I have attached the example i am working on currently, it shall include all the code i have placed for the function i need done im just not sure if im using the code correctly. Please advise me on how my code is not responding or where my errors are, again let me just mention in my first attempt i used the submit function that one can bind to a button function, problem is im not sure where to place my code for the data to be returned and displayed in the html widget as the response is going to be text that will be wrapped inside html tags.
and here is the submit code i am using.
//
function submit();
var Profilenumber = Profilenumber.val();
var PasswordFeild = PasswordField.val();
var dependentnumber = Dependentnumber.val();
$(‘form’).submit(function() {
$.getJSON(‘ajax/test.json?’ + $(this).serialize(), function(data) {
$(‘.result’).html(“response”)
});
});
Thank You
Andrea
Attachments:
You must be
logged in to view attached files.