
adilsom
(usa CentOS)
Enviado em 14/04/2010 - 18:59h
ola, estou usando o plugin superbox para jquery.
Meu problema coloquei pra abrir o link de editar um cadastro com iframe
rel="superbox[iframe][1050x500]"
Abre perfeito só que preciso que quando clico no botão CONFIRMAR DADOS, que seja fechado a janela modal, e atualizado a janela pai.
Meu script esta assim
<script type="text/javascript">
$(function(){
$.superbox.settings = {
boxWidth: "1050", // Default width of the box
boxHeight: "500", // Default height of the box
loadTxt: "Loading...",
};
//tentei fechar assim mas nao deu
$('#finalizar').click(function(){
parent.location = parent.location;
$('#superbox-wrapper, #superbox-overlay ',top.document).hide();
});
$.superbox();
});
</script>
o botao esta assim
<a href="#" onclick="sendto('edit');" id="finalizar" class="cssbutton_big"><img src="../Public/templates/default/images/icon_arrow_orange.gif">
CONFIRMAR DADOS </a>
Obrigado
Adilson Magnus
http://magnussolution.com
Billing voip