| 
	
 | 
 Posted by CADD on 08/30/06 21:22 
only asking for help with the javascript, everything else seems to be 
smooth sailing. 
 
the var name takes input and doesn't get ride of it. 
 
how can i get my variable to reset every time it is passed a variable? 
 
 
Harlan Messinger wrote: 
> CADD wrote: 
> >> How does it work fine, when "<person/>" is just a character string that 
> >> doesn't do anything? 
> >> You must be using some underlying server-side 
> >> platform that does something with this, but it isn't HTML and it isn't 
> >> Javascript. 
> > 
> > It's fine because AIML is and XML-variant that gets parsed on-the-fly 
> > and the <person/> is being passed to the javascript as requested. It's 
> > all done via HTML on the client-side. 
> > 
> > Check it out for yourself if you'd like: 
> > 
> > http://www.pandorabots.com/pandora/talk?botid=875d96ffae366536 
> > 
> > Type: "RSS baseball" 
> > 
> > Then try "RSS donuts" 
> > 
> > Besides, you don't even show any form fields for a user to 
> >> enter input, so how can it be "input from a user"? All you have is 
> >> 
> >> <a href="javascript:Popup()"><person/></a> 
> >> 
> >> which is a link that executes the function Popup()--if the user can find 
> >> it, because it won't show up on the page. That, in turn, is because the 
> >> only thing between the opening and closing A tags is a <person/> tag 
> >> that the browser won't recognize as HTML and will therefore ignore. 
> > 
> > It shows up on the page and everything works smooth. 
> > 
> > Exept for the fact the link you just clicked will be the same one, 
> > unless you clear your internet browser. 
> > 
> > I apologize in posting in the wrong forum, but i thought a java-guy 
> > might be able to ignore some trivial code and possibly offer a solution 
> 
> The "trivial code" involves a technology I never heard of and probably 
> has something to do with the problem. If I or anyone in a similar 
> position don't know the technology and therefore don't know the correct 
> way to use it, how are we supposed to tell you whether what you've done 
> is right or wrong?
 
  
Navigation:
[Reply to this message] 
 |