Required to correct the script (jquery)
And they ignore,
invalidHandler: function() {
var validEl = $('#activity_activity_group_id');
validEl.siblings().find('p').addClass('error');
validEl.change(function() {
validEl.siblings().find('p').removeClass('error');
and the
The
and the
He works.The script work principle: we look for all the not filled form fields and light the error (in our case, work with select (i.e. with the pseudo-select):
Examples of code:
Choose a Group... //Advancing error class
Choose a group.
Daily Work
Assignments
The Quiz
Choose a group.
Daily Work
Assignments
The Quiz
If there is a select with error class then its neighboring element styled-dropdown p is also assigned to error class.
All this is now working in #activity_activity_group_id
I want to be able to apply the script to different select them can and will be a few,
If you simply write var validEl = $('select'); then it releases all select (valid and error) and for some reason when you click the button first lighting input and if you click the second time already required select.The short does not work properly.You need a professional who understands jQuery.
Write to LS - if necessary I can scale the screen in slack or Zoom and show how it works now.
Client's review of cooperation with Yevgeny Gordadym
Required to correct the script (jquery)Thank you all quickly and well, I was happy with the work. I will contact and recommend the executive!
Freelancer's review of cooperation with Sergiy Martynuk
Required to correct the script (jquery)Fast payment, fast payment. I advise the customer!
-
12691 600 0 Hello, I can fix everything I need. Sign validation from JQ
Current freelance projects in the category Javascript and Typescript
I am looking for a mentor with Claude Code to launch a web project from scratch.Brief about the task: I am a beginner with no programming experience. I have a ready specification for website development (42 pages, Next.js, PostgreSQL). I want to implement it myself using Claude Code - I need a specialist who will set up the environment and teach me how to… Javascript and Typescript, Tuition ∙ 6 hours 22 minutes back ∙ 12 proposals |
Website design updateIt is necessary to update the design of the existing website using HTML, CSS, JS: refresh the appearance, make it modern and responsive for mobile devices. Smooth animations and interactive elements need to be added. HTML & CSS, Javascript and Typescript ∙ 23 hours 54 minutes back ∙ 79 proposals |
Consultation and audit of the current project on Odoo 19 Community EditionWe are looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition, including using Claude Code. We need a specialist who has successfully implemented projects in Odoo and practical experience in development using Claude Code. Important: we only… C & C++, Javascript and Typescript ∙ 1 day 5 hours back ∙ 5 proposals |
Online clothing storeNeed a developer for an online clothing store Looking for an experienced developer to create a full-fledged online clothing store with a drop model of sales. What needs to be done: 6 pages: home, product, cart, checkout, account, admin panel Login via Google account Cart and… HTML & CSS, Javascript and Typescript ∙ 3 days 2 hours back ∙ 99 proposals |
Full-stack development — Amazon PPC Dashboard (Stage 1)Need a full-stack developer with experience working with Amazon API to implement Stage 1 of the internal PPC dashboard. The project is real, the data is live, everything is ready to start. Frontend prototype (5 pages, React + TypeScript): WHAT IS ALREADY READY — Frontend… Javascript and Typescript, Web Programming ∙ 5 days 13 hours back ∙ 32 proposals |