Re: Javascript Questions

2011-01-12 Thread marco carminati
> the onchange event and it does not seem to work. So is there anyway to > find out what event(s) are fired by the dropdown box so my code works? if you active the console in firebug you could see anything.. you could always put an alert('hello') in your javascript code > Is it legal to code mul

Re: Javascript Questions

2011-01-12 Thread hank23
I'm coding a new screen and view which I'm adding to the polls app. from the django tutorial. I've written some javascript functions for setting focus and for disabling a textbox which appears to work when the page loads which is when its supposed to execute. I've also coded the dropdown box on th

Re: Javascript Questions

2011-01-12 Thread Piotr Zalewa
Is it in django-admin or completely irrelevant to this mailing list? zalun On 01/12/11 20:32, hank23 wrote: > I have a text field on a page which I want to disable when the page is > loaded and enable later when the user selects an entry in a dropdown > box. First how and where do I code the call

Javascript Questions

2011-01-12 Thread hank23
I have a text field on a page which I want to disable when the page is loaded and enable later when the user selects an entry in a dropdown box. First how and where do I code the call to my disablefield function when the page loads? Second what event is generated whenever I select an entry in a dro