lucerias Posted November 6, 2006 Share Posted November 6, 2006 May i know what is the meaning of "this.form.action.value='Save'; return verify_data(EditView)", this.form.action means what is the action that we want to do to this form? What about verify_data, I have already checked the EditView and it is coded inside one php file. without specifying the location of the function, how could the system know and execute it? Thank you. <td><input title="SAVE BUTTON" accessKey="S" class="button" onclick="this.form.action.value='Save'; return verify_data(EditView)" type="submit" name="button" value="SAVE" ></td> Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted November 6, 2006 Share Posted November 6, 2006 this looks like javascript to me. are you sure this is php because i am positive that this is javascript code. Quote Link to comment Share on other sites More sharing options...
lucerias Posted November 6, 2006 Author Share Posted November 6, 2006 Can you guys identify and explain more to me on that? I have no idea, thank you. Quote Link to comment Share on other sites More sharing options...
.josh Posted November 6, 2006 Share Posted November 6, 2006 that is javascript. what exactly are you wanting to know about it? be more specific. p.s. - moving this to javascript forum Quote Link to comment Share on other sites More sharing options...
fenway Posted November 6, 2006 Share Posted November 6, 2006 I've never actually seen someone set .action.value before; but the function call is simply validating the form in some magical way, and returning false to abort form submission if it fails. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.