JavaScript-Questions about URL paths?

Source: Internet
Author: User
这样一种情况:index.php(主体文件):    link.php: 链接表单form.php就这三个文件,访问是从 index.php 进入的。要解释的是:  点击 '链接表单' 按钮 ---》 在content.php中显示显示 form.php 的内容。  点击 form.php 的提交按钮,链接为什么就指向了: /form/form.php ??就是不清楚这样的链接,求大神解决??

Reply content:

这样一种情况:index.php(主体文件):    link.php: 链接表单form.php就这三个文件,访问是从 index.php 进入的。要解释的是:  点击 '链接表单' 按钮 ---》 在content.php中显示显示 form.php 的内容。  点击 form.php 的提交按钮,链接为什么就指向了: /form/form.php ??就是不清楚这样的链接,求大神解决??

Your form does not set the action, so it points to the current URL, and your current URL is/form/form.php

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.