Joachim: array auf vorhandensein überprüfen

Beitrag lesen

Hi,

if(!isset(captionArray['bild1'][0]))

analog geht hier:
if (typeof captionArray[...] != "undefined")...

oder Du nutzt einen try-catch block:

try {

if (captionArray['bild1'][0])...

} catch (error) {
    // testout
    alert(error)
}

Gruesse, Joachim

--
Am Ende wird alles gut.