Hi ,

Im providing you with that part of html code output

------------------------HTML start ----------------------------
<div id = "sec3">
<div  class="sec3h1">
<span style="margin-left:10px;"> Event</span>
<span style= "margin-left:170px; line-height:40px;"> Exp Date</span>

<span style="margin-left:35px;"> Quantity</span>
<span style="margin-left:35px;"> Price Paid</span>
<span style="margin-left:40px;"> Gain / Loss</span>
<span style="margin-left:30px;"> Market Value</span>
</div>
<!--sectionthree grid1starts-->
<table width="680" border="0" cellpadding="0" cellspacing="0">


  <form id="form0" class="popForSell" name="form0">


  <tr style="border-bottom:1px solid #666666;">
    <td width="188" height="60" valign="middle" class="sec3h2""> MLB
LCS Rose Bowl Match I - 11/27/2008 <br /> <span
class="sec3h3">Arizona</span> <span class="sec3h2"><img src="http://
localhost/preview/styles/template/css/images/arrow.jpg" /><a
href="#">more info</a></span></td>
    <td width="105" valign="middle" class="sec3h3">21/04/2009 <br /
>10:25 PM CST</td>
    <td width="84" align="right" valign="middle" class="sec3h4">4</td>

    <td width="94" align="right" valign="top" class="sec3h5">$200.00</
td>
    <td width="90" align="right" valign="top" class="sec3h5">$5.00</
td>
    <td width="120" align="right" valign="top" class="sec3h5">
$25.00<br />
        <input type="hidden" id="">
        <input type="image" class="popClick" src="http://localhost/
preview/styles/template/css/images/sell.jpg" name="sell0" value="" /></
td>



  </tr>

  <tr valign="middle" style="border-bottom:1px solid #666666;">

    <td colspan="6" class="gridh1"><img src="http://localhost/preview/
styles/template/css/images/border.jpg" width="100%" height="1" /></td>
  </tr>
   </form>

  <form id="form1" class="popForSell" name="form1">

  <tr style="border-bottom:1px solid #666666;">
    <td width="188" height="60" valign="middle" class="sec3h2""> MLB
World series Match1 - 11/15/2008 <br /> <span class="sec3h3">Arizona</
span> <span class="sec3h2"><img src="http://localhost/preview/styles/
template/css/images/arrow.jpg" /><a href="#">more info</a></span></td>

    <td width="105" valign="middle" class="sec3h3">25/11/2008 <br /
>7:03 PM CST</td>
    <td width="84" align="right" valign="middle" class="sec3h4">1</td>
    <td width="94" align="right" valign="top" class="sec3h5">$500.00</
td>
    <td width="90" align="right" valign="top" class="sec3h5">$5.00</
td>
    <td width="120" align="right" valign="top" class="sec3h5">
$25.00<br />
        <input type="hidden" id="">

        <input type="image" class="popClick" src="http://localhost/
preview/styles/template/css/images/sell.jpg" name="sell1" value="" /></
td>



  </tr>

  <tr valign="middle" style="border-bottom:1px solid #666666;">
    <td colspan="6" class="gridh1"><img src="http://localhost/preview/
styles/template/css/images/border.jpg" width="100%" height="1" /></td>
  </tr>
   </form>
---------------------------------------------------HTML
END--------------------------------

and the form list goes on

The jquery part of this html is

$(document).ready(function() {
        $("#myaccountclick").click(function(){
                document.myAccount.action = "www.apple.com/mypage.html";
                document.myAccount.submit();
        });

        $(".popClick").click(function(){
                $.ajax({
                                type: "GET",
                                contentType: "html",
                                url: 
"index.php?app=account_mgt&act=changeUserEmail",
                                data: "newEmail="+ newEmail +" &oldEmail="+ 
oldEmail,
                                success: function(result){
                $("#popupContactEmail").append(result);

                $("#continue").click(function(){
                        document.emailChange.action = 
"www.google.com/mypage.html";
                        document.emailChange.submit();
                });

                $("#cancel").click(function(){
                        disablePopup(1);
                });

            //CLOSING POPUP
        //Click the x event!
                $("#popupContactClose").click(function(){
                        disablePopup(1);
                });

                //Click out event!
                $("#backgroundPopup").click(function(){
                        disablePopup(1);
                });

                //Press Escape event!
                $(document).keypress(function(e){
                        if(e.keyCode==27 && popupStatus==1){
                                disablePopup(1);
                        }
                });

        }
        });
        //centering with css
        centerPopup(1);
        //load popup
        loadPopup(1);
  });
});


On Apr 6, 6:59 pm, Chandan Luthra <chandan.lut...@gmail.com> wrote:
> 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?

Reply via email to