Thread View: fj.lang.javascript
1 messages
1 total messages
Started by David Bradley
Tue, 01 Sep 1998 00:00
Artificial Intelligence
Author: David Bradley
Date: Tue, 01 Sep 1998 00:00
Date: Tue, 01 Sep 1998 00:00
6 lines
814 bytes
814 bytes
Right - here's the deal. I want to create a javascript which allows users to enter text into a text box, press a Submit button - and then get a reply which depends upon what they have written. All I need is the piece of code which says "If the text begins with 'Why', reply with Because.........." and 'if the text contains 'If' then reply with 'Then........' You get my drift??? Any replies would be gratefully received.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads