how to send indiviual data id in lightbox submit form

Discussion in 'PHP' started by dineshsingh1984, Mar 12, 2011.

  1. #1
    how to send indiviual data id in lightbox submit form

    I'm developed a classified site where I'm display ads with a individual id (which are fetch from data base) and in every ads adding reply option where i'm using light-box submit form if i'm reply with first ads then msg send with first ads individual id.
    how to send individual id with the ads when click on reply button
    for example first ads individual id is 1211 and when i'm clicking on this ad reply button then open lightbox submit form where two option showing email id and message when both field are filled and submit then mail id and msg with this ads id 1211 both are send at the new location............


    i'm using this field
    <input type="hidden" name="adID" value="WHATEVERTHEIDIS">

    but my actually problem how can send in this "adID" value in submit form which like this (which script are using ?)
    <form method="GET" action="lightbox-formulaire-test.html" target="_parent">

    <p>Email:
    <input type="text" name="email" value="" maxlength="60" size="60">
    </p>

    <p>Message:
    <input type="text" name="msg" value="" maxlength="60" size="60">
    </p>


    <p>
    <input type="submit" name="submit">
    <input type="button" name="cancel" value="Cancel" onClick="closebox()">
    </p>
    </form>

    and which are working with javascript like this
    <a href="#" onClick="openbox('REPLY', 1)">Reply</a>

    like this................
    I showing print screen image demo2 and demo3

    plz help me...................
    I'm waiting 4 reply......................
     
    dineshsingh1984, Mar 12, 2011 IP