Problem with forms
Oh, and how does one check-out the latest sources from your SVN repo? Anonymous access is prohibited and I can't find any docs explaining how to get the credentials :)
Posted June 18th, 2007 at 11:00am by jenner
It seems to be a bug in IE with the getElementsByClassName function. I'm trying to rewrite my own stuff to use the $$() function instead.
Posted November 30th, 2007 at 10:37am by Hamcake
I am getting the same problem, I cannot access any form element using $F(element) or $(element).value but as soon as i remove all modal class, then all works fine
My html code
Please login
Username
Password
forgot password?
modal class initialization
function showLoginBox() {
loginHtml = $('loginDialogBox').innerHTML;
winlogin = new Control.Modal(false,{
contents: loginHtml,
opacity: 0.8,
position: 'absolute',
width: 300,
height: 175,
fade: true,
overlayCloseOnClick: false
});
winlogin.open();
}
accessing the two variables using Prototype after the modal window is open.
alert($F('login_username'));
Any help?
P.S. tested it in FF and IE, both have same problem
alert($F('login_password'));
Posted January 16th, 2008 at 2:58pm by Asim
Hi there,
I'm having a strange problem here with control.modal and form elements. I initialize a box using
where 'modal-link' is the CSS class of a href pointing to '#my-form-box'. Now if I display the contents of my submitted form elements using alert(new Hash($('formId').serialize(true)).inspect());) I don't see any form elements (input/select/whatever) in the submitted values; however if I remove the 'modal-link' class from my link (thus removing the whole modal.control initialization) - everything works just as expected.
Do I miss something here?
TIA, jenner
Posted June 18th, 2007 at 10:58am by jenner