Click here to Skip to main content
12,997,201 members (68,303 online)

JavaScript

 
QuestionCreate Appointment in yahoo calendar using API Pin
srinivasan.p.t29-Jan-13 3:08
membersrinivasan.p.t29-Jan-13 3:08 
AnswerRe: Create Appointment in yahoo calendar using API Pin
ryanb314-Feb-13 8:52
memberryanb314-Feb-13 8:52 
QuestionJava Script is not working in Chrome Pin
Flex_Query29-Jan-13 2:17
memberFlex_Query29-Jan-13 2:17 
QuestionRe: Java Script is not working in Chrome Pin
ryanb314-Feb-13 8:52
memberryanb314-Feb-13 8:52 
AnswerRe: Java Script is not working in Chrome Pin
Brisingr Aerowing10-Mar-13 10:19
memberBrisingr Aerowing10-Mar-13 10:19 
QuestionPosting a message from diffrent domain Pin
AghaKhan28-Jan-13 22:01
memberAghaKhan28-Jan-13 22:01 
GeneralRe: Posting a message from diffrent domain Pin
Prasad Khandekar13-Mar-13 23:58
memberPrasad Khandekar13-Mar-13 23:58 
QuestionProject Help Please Pin
jmallen25-Jan-13 4:53
memberjmallen25-Jan-13 4:53 
Hello, I am attempting to create a spell checker using javascript. I am new but I have experience.

I am not using a dictionary, instead I want to use an array to hold 6 or 7 words that are spelled correctly.

The user will enter one of the words in a text box and hit a button (labeled spell check of course).

I am assuming I am going to want to use an on-click event for the button that will compare the word submitted in the textbox to one of the 6 or 7 words in the array.

I have the html and css done. I have also created the array.

I am not sure how I would compare the string that is inputted by the user to my wordlist array. I need help please.

This should (in theory) create a spell checker that will check the words in my array.


//wordlist array declared and populated
        var wordlist = new Array(6);
            wordlist[0] = "dog";
            wordlist[1] = "potato";
            wordlist[2] = "napkin";
            wordlist[3] = "knife";
            wordlist[4] = "pumpkin";
            wordlist[5] = "probably";
            wordlist[6] = "wednesday";

AnswerRe: Project Help Please Pin
sarinya_chalat3-Feb-13 16:17
membersarinya_chalat3-Feb-13 16:17 
AnswerMessage Automatically Removed Pin
23-Jan-13 1:30
memberMember 822740423-Jan-13 1:30 
Questionproject question Pin
jacklyne16-Jan-13 20:04
memberjacklyne16-Jan-13 20:04 
AnswerRe: project question Pin
Richard MacCutchan16-Jan-13 23:45
mvpRichard MacCutchan16-Jan-13 23:45 
GeneralRe: project question Pin
AnalogNerd17-Jan-13 5:21
memberAnalogNerd17-Jan-13 5:21 
AnswerRe: project question Pin
J4amieC17-Jan-13 0:09
memberJ4amieC17-Jan-13 0:09 
QuestionAbout mobile web debugger Pin
tidelgl13-Jan-13 19:18
membertidelgl13-Jan-13 19:18 
QuestionRegular Expression Pin
AB777111-Jan-13 4:10
memberAB777111-Jan-13 4:10 
AnswerRe: Regular Expression Pin
vinodkumarnie18-Jan-13 21:44
membervinodkumarnie18-Jan-13 21:44 
AnswerRe: Regular Expression Pin
AspDotNetDev24-Jan-13 14:09
protectorAspDotNetDev24-Jan-13 14:09 
QuestionHow to put clipboard data into TextBox Pin
Ravindra Bisen10-Jan-13 0:02
memberRavindra Bisen10-Jan-13 0:02 
AnswerRe: How to put clipboard data into TextBox Pin
J4amieC10-Jan-13 2:39
memberJ4amieC10-Jan-13 2:39 
AnswerRe: How to put clipboard data into TextBox Pin
Ravindra Bisen14-Jan-13 21:50
memberRavindra Bisen14-Jan-13 21:50 
GeneralRe: How to put clipboard data into TextBox Pin
itzzmearun29-Jan-13 20:18
memberitzzmearun29-Jan-13 20:18 
GeneralRe: How to put clipboard data into TextBox Pin
DaveAuld31-Jan-13 2:56
mentorDaveAuld31-Jan-13 2:56 
QuestionjQuery: live() function Pin
Phanindra2619-Jan-13 0:27
memberPhanindra2619-Jan-13 0:27 
AnswerRe: jQuery: live() function Pin
J4amieC9-Jan-13 0:39
memberJ4amieC9-Jan-13 0:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.170622.1 | Last Updated 22 Jun 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid