These are chat archives for eysteinn13/FraunhoferDBWebsite

18th
Jun 2015
Eysteinn Gunnlaugsson
@eysteinn13
Jun 18 2015 13:11
'" . $_SESSION['Username'] . "'
Freyr12
@Freyr12
Jun 18 2015 18:31

This will work:

$('span:not(:empty):first').text()
or these:

$('span:not(:empty):eq(0)').text()
$('span:not(:empty)').eq(0).text()
$('span:not(:empty)').slice(0,1).text()
$('span:not(:empty)').first().text()

Eysteinn Gunnlaugsson
@eysteinn13
Jun 18 2015 18:33
thu ert snillingur freyr
Freyr12
@Freyr12
Jun 18 2015 18:40
$("input[value='']:not(:checkbox,:button):visible:first").focus();
selectar fyrsta inputtid sem er ekki checkbox eda takki
Freyr12
@Freyr12
Jun 18 2015 18:45
('span.map_multi_latitude:not(:empty)').text();
Freyr12
@Freyr12
Jun 18 2015 19:08
$('input[name="userinput[]"]').each(function() {
if ( this.value === '' ) {
this.focus();
return false;
}
});