I have a problem to display a dialog and try to get an element of another page already used.
- function onPhotoURISuccess(imageURI) {
-
- console.log("Seleciona imagem...");
- imagemClick = imageURI;
-
- var largeImage = document.getElementById('largeImage');
- /*
- largeImage.style.display = 'block';
-
- largeImage.width = 120;
- largeImage.height = 118;
-
- largeImage.src = imageURI;
- */
- console.log(imageURI);
-
- $( "#photo-choice").dialog('close');
-
- console.log('close dialog');
-
- }
or using document.getElementById ('largeImage'); works ...
Can anyone help me with that?
thank you!