You are here: Re: javascript > variable reset help! « HTML « IT news, forums, messages
Re: javascript > variable reset help!

Posted by CADD on 08/30/06 21:03

You're right, it does bring up a lot of questions, which I was trying
to keep all this as simple as possible from the beginning.

I wouldn't expect anyone here to know much about Artificial
Intelligence Markup Language [AIML], but it's just another variant of
XML and all is well on that end of things.

The beautiful thing about XML is it comes in many forms and integrates
with everything.

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.

If someone could ignore the rest of the stuff and help me put together
a better way of what i posted, I would be extremely grateful.

Nikita the Spider wrote:
> In article <1156884878.533021.147240@74g2000cwt.googlegroups.com>,
> "CADD" <caddcreativity@gmail.com> wrote:
> > Nikita the Spider wrote:
> > > In article <1156815568.034791.125590@i42g2000cwa.googlegroups.com>,
> > > "CADD" <caddcreativity@gmail.com> wrote:
> >
> > OK, I didn't fully explain what is going on.
> >
> > This is being called through HTML. the input of the person is matched
> > with AIML "keywords",
>
> What's AIML?
>
> > so to invoke the script, the user would type
> > something like "RSS baseball" and the <person/> tag is AIML to kickback
> > the input from the user following the keyword (baseball in this case)
>
> Yikes, this brings up more questions than it answers, but at least it
> gives us a better idea as to what's happening.
>
> You're skipping something important -- the user types "RSS baseball" and
> then what does he do in order to signify, "I'm done typing now, please
> act on this input"? CLick a submit button in an HTML form? Click a
> button that has a Javascript onclick event? In any case, the problem
> might be inside the action of the <person/> tag which I gather is
> something that's defined in a another language (not HTML). You might
> need to ask on a newsgroup that's specific to that language.
>
> --
> Philip
> http://NikitaTheSpider.com/
> Whole-site HTML validation, link checking and more

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация