Forum Moderators: phranque
<p><b>Username :</b></p>
<div class="inputCon" style="margin-bottom: 12px">
<input type="text" name="username" size="30" maxlength="50" value="$userID"
required
style="width: 200px">
</div> .inputCon {
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
border: 1px solid #A9A9A9;
border-radius: 3px;
background: #E3E3E3
}
.inputCon input {
border: 0;
outline: 0;
width: 100%;
padding: 3px;
}
input[readonly] {
color: #808080;
pointer-events: none
}
input[type='text'], input[type='password'], textarea, select {
font: 12px Arial;
background: #FFF;
color: #808080
}
input[type='text']:focus, input[type='password']:focus, textarea:focus, select:focus {
background: #F5F5F5;
color: #000
} accept: ""
accessKey: ""
align: ""
alt: ""
attributeStyleMap: StylePropertyMap {size: 1}
attributes: NamedNodeMap {0: type, 1: name, 2: size, 3: maxlength, 4: value, 5: required, 6: style, type: type, name: name, size: size, maxlength: maxlength, value: value, …}
autocapitalize: ""
autocomplete: ""
autofocus: false
baseURI: "https://www.example.com/link"
checked: false
childElementCount: 0
childNodes: NodeList []
children: HTMLCollection []
classList: DOMTokenList [value: '']
className: ""
clientHeight: 20
clientLeft: 0
clientTop: 0
clientWidth: 206
contentEditable: "inherit"
dataset: DOMStringMap {}
defaultChecked: false
defaultValue: ""
dir: ""
dirName: ""
disabled: false
draggable: false
elementTiming: ""
enterKeyHint: ""
form: form.bg_ff
formAction: "https://www.example.com/link"
formEnctype: ""
formMethod: ""
formNoValidate: false
formTarget: ""
height: 0
hidden: false
id: ""
incremental: false
indeterminate: false
inert: false
innerHTML: ""
innerText: ""
inputMode: ""
isConnected: true
isContentEditable: false
labels: NodeList []
lang: ""
localName: "input"
max: ""
maxLength: 50
min: ""
minLength: -1
multiple: false
name: "username"
namespaceURI: "http://www.w3.org/1999/xhtml"
nextSibling: text
nodeName: "INPUT"
nodeType: 1
nonce: ""
offsetHeight: 20
offsetLeft: 97
offsetParent: div#memberLogin
offsetTop: 116
offsetWidth: 206
outerHTML: "<input type=\"text\" name=\"username\" size=\"30\" maxlength=\"50\" value=\"\" required=\"\" style=\"width: 200px\">"
outerText: ""
ownerDocument: document
parentElement: div.inputCon
parentNode: div.inputCon
part: DOMTokenList [value: '']
pattern: ""
placeholder: ""
previousSibling: text
readOnly: false
required: true
scrollHeight: 20
scrollLeft: 0
scrollTop: 0
scrollWidth: 206
selectionDirection: "forward"
selectionEnd: 8
selectionStart: 0
size: 30
slot: ""
spellcheck: true
src: ""
step: ""
style: CSSStyleDeclaration {0: 'width', accentColor: '', additiveSymbols: '', alignContent: '', alignItems: '', alignSelf: '', …}
tabIndex: 0
tagName: "INPUT"
textContent: ""
title: ""
translate: true
type: "text"
useMap: ""
validationMessage: ""
validity: ValidityState {valueMissing: false, typeMismatch: false, patternMismatch: false, tooLong: false, tooShort: false, …}
value: ""
valueAsNumber: NaN
virtualKeyboardPolicy: ""
webkitEntries: []
webkitdirectory: false
width: 0
willValidate: true
// h just plugs in a timestamp to prevent caching while in production
<script src="footer.js?h=012014"></script> style="margin-bottom: 12px"There are several such lines in your css, but those lines look like they pertain to .js elements (?)
// original that didn't work everywhere
$('.button').click(function(e) { ... });
// modification that does work
$(document).on('click', '.button', function(e) { ... }