For example, In one form I use LiveValidation to validate the dates. This JS creates a span after the input. Then when I click to launch the date picker, the JS errors because $(this).previous is the span and not the expected input element.
Solution: use the unique ID to identify the input field.
For example, In one form I use LiveValidation to validate the dates. This JS creates a span after the input. Then when I click to launch the date picker, the JS errors because $(this).previous is the span and not the expected input element.
Solution: use the unique ID to identify the input field.