OK, so I figured this out this morning. Nothing like getting a good
nights sleep.
What I did was this:
Moved the function to the top, gave it a name, changed the
document.getElementByID to document.FormName.FieldName, added the
onChange event on the select list and it is working fine Thanks all
Yep, I think this is the problem as well. If you take the code posted @
http://www.nomorepasting.com/getpaste.php?pasteid=14631 and move the entire
Two votes for Firebug. Never work without it. Pegs down my js fat finger
problems, helps me know when external resources aren't available
(usually by fat fingering resource paths), let's me see what headers are
going out and being returned, see full server responses, and view the
exact form var
-- Josh
- Original Message -
From: "Bruce Sorge" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Wednesday, April 16, 2008 2:57 PM
Subject: Re: Some JS help please
> Sure,
> Here it is:
>
> http://www.nomorepasting.com/getpaste.php?pasteid=14631
>
> It
Sure,
Here it is:
http://www.nomorepasting.com/getpaste.php?pasteid=14631
It is not the entire form though. Just the result of the JS and down to
the select, incase anyone notices and says "Hey, you forgot to close
your form".
And I am finding FireBug interesting.
Bruce
Charlie Griefer wrote:
> On Wed, Apr 16, 2008 at 2:47 PM, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> > I changed everything to regular select and regular form. Still the same
> > issue. Just downloaded Firebug and I will work with that to see if I can
> > spot the problem.
> >
> > Bruce
It may be as simple as the
Bruce - can you view the source and paste it to a
www.nomorepasting.com type site?
hard to debug JS when it's not all been generated yet :)
(but definitely use Firebug for your own testing/debugging. Firebug rocks)
On Wed, Apr 16, 2008 at 2:47 PM, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> I chan
I changed everything to regular select and regular form. Still the same
issue. Just downloaded Firebug and I will work with that to see if I can
spot the problem.
Bruce
Josh Nathanson wrote:
> Does using rather than a regular select change the id value
> somehow? The error you're getting wou
- Original Message -
From: "Bruce Sorge" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Wednesday, April 16, 2008 1:58 PM
Subject: Some JS help please
>I am using this script:
>
>
>var SiteContact = {};
>var SitePhone = {};
&g
Yeah, I will give that a shot.
Bruce
On Wed, Apr 16, 2008 at 2:15 PM, Charlie Griefer <[EMAIL PROTECTED]>
wrote:
> do you need for this to be cfform? i haven't touched cfform in years
> because i used to find that the JS it generated conflicted with my own
> home-grown JS. curious if something
do you need for this to be cfform? i haven't touched cfform in years
because i used to find that the JS it generated conflicted with my own
home-grown JS. curious if something similar might be happening here.
can you try it with a regular and and whatnot, just to
see if maybe that's the issue?
Thanks for seeing that Charlie.
But the issue still exists. It is the first document.getElementById.,
the Site_ID one.
Bruce
Charlie Griefer wrote:
> Hi Bruce:
>
> Haven't looked over all the code, but it's document.getElementById()
> ('Id', not 'ID'). hopefully that'll do it
~
Hi Bruce:
Haven't looked over all the code, but it's document.getElementById()
('Id', not 'ID'). hopefully that'll do it.
On Wed, Apr 16, 2008 at 1:58 PM, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> I am using this script:
>
>
> var SiteContact = {};
> var SitePhone = {};
>
SiteContact["#qSelectAllSites.SiteID#"] =
'#qSelectAllSites.SiteContact#';
SitePhone["#qSelectAllSites.SiteID#"] =
'#qS
if you didn't fix it, it may be because you don't have a name for the
window?
window.open(url,name,etc..)? just a guess...
On 3/8/07, Steve LaBadie wrote:
>
> I hope it's ok to post this here.
>
>
>
> I have created an onmouseover pop-up window, which closes with
> onmouseout. Works fine in IE6
I hope it's ok to post this here.
I have created an onmouseover pop-up window, which closes with
onmouseout. Works fine in IE6, but creates multiple windows in Firefox.
Any ideas?