Re: $ functions not working using spring

Brian Williams
Fri, 31 Aug 2007 18:48:37 -0000

well the clients don''t need it to use the page but they can''t
stop you from
using it on your own computer to diagnose the problems.

another way to see what the browser is seeing as far as the prototype file
goes is to have them put in the direct url to the js file and it''ll
load
like text.

but if you are sure the pt js file is loading then try a different function
and see if that works.

something as easy as <script
type="text/javascript">$(''test'').update("testing
prototype.js")

should do the trick, off the top of my head though.


On 8/31/07, seanjones1966-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
<seanjones1966-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>
>
> I am aware of that JS VIew and the Java Script console.  unfortunately
> for me.
>
> The client does not allow firefox or netscape.
>
> Is there any such plug for IE ?
>
> On Aug 31, 2:21 pm, "Brian Williams"
<brianw1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > it''s going to sound preachy but i don''t mean it to
be but there''s an
> > extension for firefox called JS View.  It adds a context menu that
will
> let
> > you choose one or all of the external JS files to view in code view.
> >
> > It''s really helpful for stuff like that.  Two clicks and
you''ll know if
> yer
> > included files are right. if you see the html for a 404 error then the
> > browser doesn''t see the JS file.  if it does find the file
it''ll display
> it
> > as it reads it.
> >
> > On 8/31/07, seanjones1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
<seanjones1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >
> >
> >
> >
> >
> > > i believe i have.
> >
> > > i am trying to confirm that now.  i moved a function that was
being
> > > called from master.js into the prototype js.
> >
> > > i also discovered that when opening the prototype.js with notepad
it
> > > didn''t show (looked garbled)  as it does in RAD or
textpad.
> >
> > > i did a cut and paste so that it shows nicely in notepad now.
> >
> > > now im re-deploying
> >
> > > On Aug 31, 1:42 pm, "Brian Williams"
<brianw1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > > > did you confirm that the browser is loading the prototype.js
file?
> >
> > > > On 8/31/07,
seanjones1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
<seanjones1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >
> > > > > i have prototype.js in same location as master.js and i
can access
> > > > > fucntions from master.js fine.
> >
> > > > > trying to check
$(''selectBox'').selectedIndex != -1
> >
> > > > > i get the error missing object.
> >
> > > > > seems like its not getting to the function.
> >
> > > > > any ideas ?
> >
> > > > > are there any known issues using prototype with spring
/ tiles
> setup
> >
> > > > > thank You in advance- Hide quoted text -
> >
> > > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -
>
>
> >