How do I get the name and student ID data entered from the form and output the obtained data to the

Updated on technology 2024-02-28
16 answers
  1. Anonymous users2024-02-06

    'b').value

    Or it can be passed between pages, and then used after the page is split by the value after the question mark of the url called by the script"|"Split to get username and email

  2. Anonymous users2024-02-05

    Form tags are coming back, they're paired tags.

  3. Anonymous users2024-02-04

    $name = $_post["name1"] ;

    You can get the data.

    Can this ** work? There is a problem with your path, and the data you want may not reach the runtime file you want.

  4. Anonymous users2024-02-03

    form, action=""

  5. Anonymous users2024-02-02

    Define the form (submitted as GET).

    Get the form information from the address bar and output it in the console.

    var result = ;;

  6. Anonymous users2024-02-01

    Debugging passed.

    Name: Age: Gender:

  7. Anonymous users2024-01-31

    Use the id or class class of the form as the basis to obtain the input content of the form, and then output it in the alert pop-up window.

  8. Anonymous users2024-01-30

    js is just right: document(formid).(control id).value

    Generally, we use jquery to introduce a jquery package. $("(control id).").val()

    That's it.

  9. Anonymous users2024-01-29

    Your question is that you want someone to write for you?

    Flip through the books.

  10. Anonymous users2024-01-28

    Like the status bar?

  11. Anonymous users2024-01-27

    Use multi-criteria queries to read the database.

  12. Anonymous users2024-01-26

    Loop the obtained array to get people with wages greater than 1000, and you can form a new array for storing people with wages greater than 1000.

  13. Anonymous users2024-01-25

    1. Example of an asp page (file name: :.)

    2. [action=] in the asp page""Be sure to correspond to the name of the file you saved, so that the form is submitted to this page.

    3、【request("username"The [username] in [] must be the same as the [username] in [], otherwise you will not receive the value passed by the page.

  14. Anonymous users2024-01-24

    Refer to the following**:

    Data Modification ......

    if request("action")="edit" then 'Determine whether to modify or not'Obtained the data data passed by the form and modified it successfully".

  15. Anonymous users2024-01-23

    You can use AJAX to transfer the acquired data to the background.

    post("Here's an example of a spooled page address.

  16. Anonymous users2024-01-22

    Behind the scenes, Django's form is validated (I guess you use the Django framework for web applications).

    Here's how it works.

    class loginform(modelform):

    class meta:

    model = login

    fields =

    def clean(self):

    cleaned_data = super(loginform, self).clean()

    user_name= cleaned_'user_name', '')

    password= cleaned_'password', '')

    if user_name== '':

    self._errors["user_name"] = 'Names are not allowed to be empty! '])

    if password== '':

    self._errors["password"] = 'Passwords are not allowed to be empty! '])

    return cleaned_data

    This way, when the form is submitted, the Django form will automatically do a non-null validation for you, if there is anything else that needs to be verified, you can modify it according to the above method.

Related questions
33 answers2024-02-28

Chinese people have always had the custom of respecting their ancestors, and the names of their ancestors and elders cannot be called directly. This type of taboo is included in the ancestor worship customs of many ethnic groups such as Han, Oroqen, Evenki, Kazakh, Buyi, and Tibetan. The Oroqen people believe that calling their ancestors by their names is disrespectful to their ancestors, and they are afraid of angering their ancestors and causing disasters to their descendants. >>>More

15 answers2024-02-28

Since childhood, you yourself should be greater than the state, because the country is the collective body of the people, and you are you after all, and you are not for anyone. >>>More

4 answers2024-02-28

Termites mainly crawl out of the soil, or from old furniture. >>>More

21 answers2024-02-28

If you have emotions, you should learn to release, let yourself relax first, give yourself a vacation, go out to travel and play, relax, eat something delicious, and so on to relax yourself to set a small goal, learn to encourage yourself appropriately, after the goal is achieved, you must learn to reward yourself, so that you will have the motivation to continue to move forward, to understand that life is because of these troubles will be wonderful, I have been very decadent in the past two days, I don't know what to do, so I went to Hengshan to play a circle, When I came back, I felt that the angle of looking at the problem had also changed, and I continued to stand up and fight when I was in a much better mood.

18 answers2024-02-28

Just 14 years old, if your parents are not short, you will definitely be able to grow to 167 170cm, rest assured!It's okay to keep your heart in your stomach !!