Hi, I had also faced problem similar to this and luckily was able to find out a solution for this. But I can only solve your problem if provide the HTML text of the page.
With Regards, Chandan Luthra Intelligrape Software Pvt. Ltd. Rita Rudner - "In Hollywood a marriage is a success if it outlasts milk." On Mon, Apr 6, 2009 at 19:09, Sai Krishna <psaikrishna....@gmail.com> wrote: > > Hello, > > I'm very new to jquery. Can somebody help me with some information. > I'm printing an a series of forms with php in the form of grid data. > Each row would contain a form. Now if anybody clicks on any of the > submit form of any row, I need a popup that would come with that form > data. Each form per row would be called as form1, form2,form3 and > sooon. Ill need data of any form in the popup of ajax. Can somebody > help me with this. > > I've tried the following, I gave a dummy class for each form > called .popupDetail, for submit image an .popupSubmit. > > $(document).ready(function() { > $(".popupSubmit").click(function(){ > var newEmail = $("#id1").val(); > var oldEmail = $("#id2").val(); > $.ajax({ > type: "GET", > contentType: "html", > url: "index.php", > data: "newEmail="+ newEmail +" &oldEmail="+ > oldEmail, > success: function(result){ > $("#popupContactEmail").append(result); > } > }) > }); > > This asks for right data?