hello Karlankas
Bueno ta solucionado con un iframe oculto jeje
aqui dejo un ejemplillo:
Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<script>
var string;
function show() {
string = document.getElementById('images').contentWindow.document.body.innerHTML;
var elements = string.split('\n');
for(var i = 0; i < (elements.length - 1); i++) {
var info = elements[i].split('|');
var opt = new Option(info[1], info[0]);
document.admin.pictures.options[i] = opt;
}
return false;
}
</script>
</head>
<body>
<iframe id="images" src="image.select.php" width="0" height="0" onload="show()" frameborder="0"></iframe>
<form name="admin">
<select name="pictures" size="5">
</select>
</form>
</body>
</html>