This Topic is intended to contain a compilation/library of Posts containing useful Initialization and Render Scripts.
Structure the wording of the Post's Subject accordingly so the Post can be found in a search.
Useful Initialization and Render Scripts
Useful Initialization and Render Scripts
Last edited by pureist on Sat Oct 08, 2016 3:52 am, edited 1 time in total.
render script to change background color of form body
var variable_name = $("#" + parser.m_formId).find (".aw-form-body");
variable_name.css ("background-color", "color_name _or_code");
eg.:
var thisForm = $("#" + parser.m_formId).find (".aw-form-body");
thisForm.css ("background-color", "black");
or,
var thisForm = $("#" + parser.m_formId).find (".aw-form-body");
thisForm.css ("background-color", "#abcdef");
thisForm.css ("color", "green") [.. change the color of text labels to green]
refer following for listing of properties which may be available to set:
http://www.w3schools.com/cssref/pr_border-style.asp
variable_name.css ("background-color", "color_name _or_code");
eg.:
var thisForm = $("#" + parser.m_formId).find (".aw-form-body");
thisForm.css ("background-color", "black");
or,
var thisForm = $("#" + parser.m_formId).find (".aw-form-body");
thisForm.css ("background-color", "#abcdef");
thisForm.css ("color", "green") [.. change the color of text labels to green]
refer following for listing of properties which may be available to set:
http://www.w3schools.com/cssref/pr_border-style.asp
Last edited by pureist on Fri Oct 14, 2016 3:03 pm, edited 1 time in total.
init. script to set focus to first input field in a form
Last edited by pureist on Fri Oct 14, 2016 3:04 pm, edited 2 times in total.
render script 2 set focus to first filter input field in a q
Last edited by pureist on Fri Oct 14, 2016 3:07 pm, edited 1 time in total.