Thank you for replying. What I'm trying to do is prompt an answer from a list of keywords and ignore everything else. For example in my script the user can input 'Well hello there' and the bot...
I'm trying to build a simple little bot that you can ask questions. I'm using the indexOf method but I'm not sure if this is the best option for what I'm trying to do. If you type...
Looking for a little help with this script. How would I go about changing it so that the first div is replaced by the second when you click on Content 1, and vice versa when you click on...
Need a little help. I'm trying to add a character counter to my form but I can't get it to work. In addition to the main function of my form it also gives you the option to search Google from...
I'm wondering if this is possible with JavaScript: I wish to have a form where I can input a url. On submitting the form the script does a HTTP HEAD Request, parses the url from the HEADER and then...
Hmmm. What I'd like is for the text to appear as it does in the textarea with the line breaks and carriage returns. I've tried using the <pre> tag instead of <div>. In Firefox the carriage returns...
That's awesome Fang! It does work in all browsers! I'd like to change the input to a textarea but I can't reference it correctly. It seems you can't reference the id with a textarea so I'm using...
The script below works perfectly in Firefox, Safari, Opera and Chrome but not in IE7?? I can't figure out why. The code highlighted red creates a div from the text input and the...
Thanks for replying. That does work however the Google Search radio button isn't working now. :confused: So if someone types in "red" and wants to Google search it they can't. Is...
I'm having a problem with my form (code below). What I'm trying to do is that if anything other then "red", "green" or "blue" are entered the form submits to Google. It seems to work...
Thanks! That does the trick. What I'm really after though is every time the onClick is called a new div is created so I can control each input separately. I'm not sure if this is possible with the...
I want to change the code below so that everytime the onClick is called the form writes the input text on a new line while still showing the previous input text. Anyone have any ideas as...
This is a bookmark script that I've modified that does the same thing. It calls the Add Favorite dialog box in IE and links to a url in Firefox and Safari (but again not Opera :confused:). This is...
I'm trying to cobble a script together that calls the Add Change Homepage dialog box in IE but links to a url in other browsers. The url will be a page that gives information on how to set the...
Sorry paziek. I have a form which performs a specific function. Depending on which color you type in it prompts an alert and then submits. All I want to do is add the Google Search facility to the...
Hmm. I've added that line of code but it still doesn't work. It still prompts the javascript with the alert. I'm not sure if this is a HTML issue or whether I need another javascript. Any ideas?...
I want to add Google Search to my form but I'm not sure how to do it. I can't figure out how to use the get method when the Google Search radio button is checked without the javascript...