Tony
|
| Posted: 11/23/2005, 8:14 AM |
|
Why would an on change event only work once?
I've got it so that when a listbox changes it sends the user to a different page. The same included list box is on the destination page, but when you select something new the on change event doesn't work.
Any ideas?
|
|
|
 |
Intexk
|
| Posted: 11/23/2005, 8:23 AM |
|
the second page has a search button too?.
To make a form is submited u need at least 1 button (that u can hide with styles...visibility:hidden.
|
|
|
 |
thTony
|
| Posted: 11/23/2005, 8:39 AM |
|
The destination page calls the same page as the start page which contains the listbox, it's the same form on both pages. It has 3 buttons?
|
|
|
 |
Intexk
|
| Posted: 11/23/2005, 8:44 AM |
|
it seems a javascript error....what browser do u use?
|
|
|
 |
Tony
|
| Posted: 11/23/2005, 8:47 AM |
|
IE
|
|
|
 |
tony
|
| Posted: 11/23/2005, 9:01 AM |
|
how would you know?
|
|
|
 |
Tony
|
| Posted: 11/23/2005, 10:16 AM |
|
Tried it on 3 computers now and still doesn't work, must be the code?
|
|
|
 |
Intexk
|
| Posted: 11/23/2005, 11:32 AM |
|
tony....in the bottom left part of the explorer there is an icon, if it's yellow and u click it...it will show u the line of javascript that crashed.
|
|
|
 |
Tony
|
| Posted: 11/24/2005, 1:25 AM |
|
Sorry, I thought you meant there was some error with the browser.
No there is no error with the script - a part from it's not working.
Could it be to do with an On Change Event embeded within an included page?
Thanks for your help
|
|
|
 |
tony
|
| Posted: 11/24/2005, 1:47 AM |
|
Could it be CCS?
Even the off the shelf "Submit form" doesn't work.
Think I'm gonna try CCS 3, see if that fixes it.
|
|
|
 |
Intexk
|
| Posted: 11/24/2005, 2:18 AM |
|
Bingo!
.....Could it be to do with an On Change Event embeded within an included page?.....
If u place an event in a include page u must execute the Bind_Events of that include from the primary page when that page loads...i think they fixed that later in some version of codecharge..
|
|
|
 |
Tony
|
| Posted: 11/24/2005, 2:52 AM |
|
So you think CCS 3 might fix it?
|
|
|
 |
Tony
|
| Posted: 11/24/2005, 3:33 AM |
|
Had an idea that wasthe problem.
Fixed now the Bind_events are pasted into the host page.
Thanks for all your help
|
|
|
 |