Works on IE

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Works on IE

Ron Teitelbaum

Hi All,

 

So now that I have both IE and Firefox of course I went to test my little example programs on Firefox.  This one works on IE but not on fireFox.

 

            html anchor

                        id: 'advancedSearch';

                        callback: ["noop"];

                        liveCallback: [:h | self toggleSearchType.

                                    self renderContentOn: h];

                        text: (self isSimpleSearch ifTrue: ['Advanced Search'] ifFalse: ['Simple Search']).

            html div id: 'searchForm'; with: [

                        self isSimpleSearch ifTrue: [self renderSimpleSearchOn: html]

                        ifFalse: [self renderAdvancedSearchOn: html]].

 

If I refresh the page it works of course.  Any idea why this works for IE and not fireFox?  What does one do to research problems like this?

 

Thanks for your help!

 

Ron


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Works on IE

Klaus D. Witzel
Hi Ron,

I've written tons of JavaScript (in modular fashion, Ajax-like, always  
multi-NS-IE-etc ;-) If you'd post the "view source" of the browser before  
and after you do the refresh, I might be able to debug it.

/Klaus

On Thu, 26 Oct 2006 23:26:50 +0200, Ron wrote:

> Hi All,
>
>
> So now that I have both IE and Firefox of course I went to test my little
> example programs on Firefox.  This one works on IE but not on fireFox.
>
>
>             html anchor
>
>                         id: 'advancedSearch';
>
>                         callback: ["noop"];
>
>                         liveCallback: [:h | self toggleSearchType.
>
>                                     self renderContentOn: h];
>
>                         text: (self isSimpleSearch ifTrue: ['Advanced
> Search'] ifFalse: ['Simple Search']).
>
>             html div id: 'searchForm'; with: [
>
>                         self isSimpleSearch ifTrue: [self
> renderSimpleSearchOn: html]
>
>                         ifFalse: [self renderAdvancedSearchOn: html]].
>
>
> If I refresh the page it works of course.  Any idea why this works for IE
> and not fireFox?  What does one do to research problems like this?
>
>
> Thanks for your help!
>
>
> Ron
>


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Re: Works on IE

Ron Teitelbaum
Hi Klaus,

Thanks for offering! I send it to you off list.

Ron

> -----Original Message-----
> From: [hidden email] [mailto:seaside-
> [hidden email]] On Behalf Of Klaus D. Witzel
> Sent: Thursday, October 26, 2006 5:38 PM
> To: [hidden email]
> Subject: [Seaside] Re: Works on IE
>
> Hi Ron,
>
> I've written tons of JavaScript (in modular fashion, Ajax-like, always
> multi-NS-IE-etc ;-) If you'd post the "view source" of the browser before
> and after you do the refresh, I might be able to debug it.
>
> /Klaus
>
> On Thu, 26 Oct 2006 23:26:50 +0200, Ron wrote:
>
> > Hi All,
> >
> >
> > So now that I have both IE and Firefox of course I went to test my
> little
> > example programs on Firefox.  This one works on IE but not on fireFox.
> >
> >
> >             html anchor
> >
> >                         id: 'advancedSearch';
> >
> >                         callback: ["noop"];
> >
> >                         liveCallback: [:h | self toggleSearchType.
> >
> >                                     self renderContentOn: h];
> >
> >                         text: (self isSimpleSearch ifTrue: ['Advanced
> > Search'] ifFalse: ['Simple Search']).
> >
> >             html div id: 'searchForm'; with: [
> >
> >                         self isSimpleSearch ifTrue: [self
> > renderSimpleSearchOn: html]
> >
> >                         ifFalse: [self renderAdvancedSearchOn: html]].
> >
> >
> > If I refresh the page it works of course.  Any idea why this works for
> IE
> > and not fireFox?  What does one do to research problems like this?
> >
> >
> > Thanks for your help!
> >
> >
> > Ron
> >
>
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Works on IE

Philippe Marschall
In reply to this post by Ron Teitelbaum
2006/10/26, Ron Teitelbaum <[hidden email]>:

>
>
>
>
> Hi All,
>
>
>
> So now that I have both IE and Firefox of course I went to test my little
> example programs on Firefox.  This one works on IE but not on fireFox.
>
>
>
>             html anchor
>
>                         id: 'advancedSearch';
>
>                         callback: ["noop"];
>
>                         liveCallback: [:h | self toggleSearchType.
>
>                                     self renderContentOn:
> h];
>
>                         text: (self isSimpleSearch ifTrue: ['Advanced
> Search'] ifFalse: ['Simple Search']).
>
>             html div id: 'searchForm'; with: [
>
>                         self isSimpleSearch ifTrue: [self
> renderSimpleSearchOn: html]
>
>                         ifFalse: [self renderAdvancedSearchOn: html]].
>
>
>
> If I refresh the page it works of course.  Any idea why this works for IE
> and not fireFox?  What does one do to research problems like this?
>
>
>
> Thanks for your help!

Do you have some kind of JavaScript debugger like FireBug?

Philippe
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Works on IE

Klaus D. Witzel
On Fri, 27 Oct 2006 07:48:27 +0200, Philippe Marschall wrote:
> 2006/10/26, Ron Teitelbaum wrote :
...
>> So now that I have both IE and Firefox of course I went to test my  
>> little
>> example programs on Firefox.  This one works on IE but not on fireFox.
...
>> If I refresh the page it works of course.  Any idea why this works for  
>> IE
>> and not fireFox?  What does one do to research problems like this?
...
>
> Do you have some kind of JavaScript debugger like FireBug?

<grin/>

/Klaus

>
> Philippe


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Works on IE

Ron Teitelbaum
In reply to this post by Philippe Marschall
Yes this is the response I get back.  I can also put in a break point and
watch values.  Any suggestions on how to debug this?

I click the link and I get a response back:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html lang="en"
xml:lang="en"
xmlns="http://www.w3.org/1999/xhtml"><head><title>Seaside</title><meta
content="text/xml; charset=utf-8"
http-equiv="Content-Type"></meta></head><body><br /><a
href="?_k=NtiHfjnq&amp;_s=lDawHGZSKpKiIZXK&amp;11"
id="advancedSearch">Simple Search</a><div id="searchForm"><table
id="searchTable"><tr><td>First Name: </td><td><input type="text"
value="Enter First Name" class="text" /></td></tr><tr><td>Middle Name:
</td><td><input type="text" value="Enter Middle Name" class="text"
/></td></tr><tr><td>Last Name: </td><td><input type="text" value="Enter Last
Name" class="text" /></td></tr><tr><td>Name Suffix: </td><td><input
type="text" value="Enter Name Suffix" class="text" /></td><td>(Sr. Jr. III
...)</td></tr></table></div><br /><div id="searchButtons"><input
type="button" value="search" class="button" /></div><script
type="text/javascript">document.getElementById('advancedSearch').onclick =
liveClick('advancedSearch','http://localhost:9191/seaside/test3?_k=NtiHfjnq&
amp;_s=lDawHGZSKpKiIZXK&amp;12')</script></body></html>


> -----Original Message-----
> From: Philippe Marschall [mailto:[hidden email]]
> Sent: Friday, October 27, 2006 1:48 AM
> To: [hidden email]; The Squeak Enterprise Aubergines Server - general
> discussion.
> Subject: Re: [Seaside] Works on IE
>
> 2006/10/26, Ron Teitelbaum <[hidden email]>:
> >
> >
> >
> >
> > Hi All,
> >
> >
> >
> > So now that I have both IE and Firefox of course I went to test my
> little
> > example programs on Firefox.  This one works on IE but not on fireFox.
> >
> >
> >
> >             html anchor
> >
> >                         id: 'advancedSearch';
> >
> >                         callback: ["noop"];
> >
> >                         liveCallback: [:h | self toggleSearchType.
> >
> >                                     self renderContentOn:
> > h];
> >
> >                         text: (self isSimpleSearch ifTrue: ['Advanced
> > Search'] ifFalse: ['Simple Search']).
> >
> >             html div id: 'searchForm'; with: [
> >
> >                         self isSimpleSearch ifTrue: [self
> > renderSimpleSearchOn: html]
> >
> >                         ifFalse: [self renderAdvancedSearchOn: html]].
> >
> >
> >
> > If I refresh the page it works of course.  Any idea why this works for
> IE
> > and not fireFox?  What does one do to research problems like this?
> >
> >
> >
> > Thanks for your help!
>
> Do you have some kind of JavaScript debugger like FireBug?
>
> Philippe


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside