I think it's just need your logic. The logic is before you submit the form, you 
must save the values into variable and insert these variables into hidden 
field. And the values in form is with them self values.
For COMPARE these values, just COMPARE the values from hidden field and values 
from input field. 

Please report if it's works okay?


--- On Tue, 11/18/08, HELLBOY <[EMAIL PROTECTED]> wrote:
From: HELLBOY <[EMAIL PROTECTED]>
Subject: [php_mysql] How do I get form elements values BEFORE SUBMIT & AFTER 
SUBMIT????
To: php_mysql@yahoogroups.com
Date: Tuesday, November 18, 2008, 2:56 PM










    
            Hi All,

Here is the reason why i ak asking for ur help.



I have a edit form in which the values already stored in DB are populated.

User can edit some or all the values in the form.

then he submit the form.



NOW I WANT SOME JAVASCRIPT / PHP FUNCTIONALITY WHICH WILL GIVE ME THE

types & values OF ALL ELEMENTS ON FORM WHICH SHOULD BE before submitting &

after submitting.

I HAVE TO COMPARE  these values so that i can send only changed values to

server.



I HAD TRIED form.elements in JAVASCRIPT BUT IT GIVES SAME VALUES.



Regards,

Rider.



-- 

http://phpinterview answers.blogspot .com/



[Non-text portions of this message have been removed]




      

    
    
        
         
        
        








        


        
        


      

[Non-text portions of this message have been removed]

Reply via email to