Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Ajax call to slide toggledown(slow) and edit form on button click.

$
0
0

i am working on a jobportal site, i have a user table, when i registered with some fields before login, i need to update that user table after login to applicant account.. i have a button to update the user table, when i click on button it goes to another page for updation, i need an ajax code which i click on personal info button and the form will slidetoggle down slow in the same view not an another view... i have the following code which is not working...

<script>$("#editinfo").click(function () {
            var myform = document.getElementById(".myform");
            var fd = new FormData(myform);$.ajax({
                url: "/ADashboard/Editinfo/",
                data: fd,
                cache: false,
                processData: false,
                contentType: false,
                type: 'POST',
                success: function (dataofconfirm) {
                    // do something with the result
                }
            })
        });</script> 

if any one have ajax code to solve my problem, please share it with me


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>