doujiang2812 2018-04-02 18:36 采纳率: 0%
浏览 57

客户验证注册中的js问题

I'm having a problem with file that I created ( reg.js ) for client side validation. In fact, I want to echo out the errors if new user try to submit his credentials without filling all the input fields needed(Firstname, Lastname, email and password)

I'm getting this : enter image description here

I'm pretty new in PHP and this is my first project for a simple C.R.U.D. web site and I'm stuck with this, I tried to google it, but I couldnt find similar solution so I can't really figuire it out how to fix it...

  • 写回答

2条回答 默认 最新

  • duanhai4046 2018-04-02 18:39
    关注

    Those are linting errors, not script errors. If jQuery has been imported into your page, the script should at least start to run - it will recognize $ and document.

    But there's another problem: hmtl is not a jQuery method. You probably meant to use .html

    评论

报告相同问题?

悬赏问题

  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大