English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'm working on a page that depending on the situation, the Submit will have a different value. Basically going from 'Please Click After Filling the Form" to "Save Here". I know I'm not explaining much, but I just need a basic idea to get started.

Is there a way I can do it with just a: document.getElelmentByID("name_of_form").submit.value?

2007-08-18 06:09:40 · 3 answers · asked by fake_brasilian 1 in Computers & Internet Programming & Design

3 answers






2007-08-18 07:32:03 · answer #1 · answered by Big D 4 · 0 0

there's somewhat extra to it than that! - i believe that the enter tag is in a sort. if so, what do you do with the type? - in case you employ a picture (sort='image'), you do not choose for a "fee", except you're employing the fee on your script, which you do not. - in spite of if it fairly is a sort, via clicking the image, you deliver the type. what's the technique used: placed up or GET? - whilst the type is won on the server, how do you build the reaction? in case you do not, the server will merely deliver the unique HTML decrease back (no calculation). - a extra advantageous wager could be to calculate the score in Hypertext Preprocessor and respond in words, yet that could desire to be somewhat complicated for you in case you do not understand Hypertext Preprocessor. - yet another answer is this: on your sort, upload Then, on your "technique" function, upload this on the tip (after calculating the score): rfile.getElementById('score').fee... variable you employ for the score] whilst the consumer clicks on Compute score, "technique" is observed as, and the sector "score" is as much as date.

2016-10-16 01:15:06 · answer #2 · answered by Anonymous · 0 0

Just write a java script that returns the string you want based on the state of the document.

2007-08-18 06:15:39 · answer #3 · answered by mdigitale 7 · 0 2

fedest.com, questions and answers