I have a custom validation file like as custome_validation.js. This file contains mail validation and phone number validation.
I include that file in Hooks like (app_include_js=“assets/js/Custome_validation.js”). I have list of functions like
function email_validation(fieldname)
{statements
}
How to call this function where ever in need.
How to focus this field.
How to set onkey press event for particular doc name.
I was adding jQuery to a web page. Adding the HTML script tag to the header field doesn’t work within the Website Settings and Web Page (worse: it converts the HTML to text) doctype.