|
Posted by CADD on 08/31/06 15:51
Nikita,
Thanks again for the reply.
It makes sense what you're saying, but I do not believe it to be a
server-side error because the variable is actually assigned. When you
type baseball, it generates a link that says baseball and when you
click the link, it takes you to an RSS baseball search on bloglines. if
you go back and now type "RSS football", the link says football now,
but when you click it, it still takes you to the RSS baseball search.
any other thoughts?
Nikita the Spider wrote:
> In article <1156971832.130118.220850@i42g2000cwa.googlegroups.com>,
> "CADD" <caddcreativity@gmail.com> wrote:
> >
> > Yes, the user submits his input by pressing a button in an HTML form -
> > you can give it a try here:
> > http://www.pandorabots.com/pandora/talk?botid=875d96ffae366536
> >
> > It's definitely something with the javascript example, the variable is
> > definitely making it through the script, but just not leaving when it's
> > the end of the function. It was my first attempt of putting together
> > javascript used for anything like that, so i can't say for sure that my
> > use of variables was appropriate.
>
> Having looked at the example, I'm not sure what the problem is. I go to
> the URL that you gave above, type in "rss baseball", hit enter, and I
> get another screen that looks basically the same but with this added:
> Human: rss baseball
> botCAD: baseball.
>
> On that page, it looks like the very top of the <script> block (var name
> = " baseball";) was generated by a server-side process based on my
> input. If the server-side process isn't writing the correct value into
> that variable, then this isn't a Javascript problem and it isn't an HTML
> problem, it is a problem with your server side code. Make sense?
>
> --
> Philip
> http://NikitaTheSpider.com/
> Whole-site HTML validation, link checking and more
[Back to original message]
|