Click here to Skip to main content
12,360,631 members (54,818 online)

JavaScript

 
AnswerRe: onmouseover and document.getElementById Pin
jainsachin30-Nov-12 9:17
memberjainsachin30-Nov-12 9:17 
Questiondisplaying different contentunder single layout Pin
radha123 from Hyderabad23-Nov-12 3:32
memberradha123 from Hyderabad23-Nov-12 3:32 
AnswerRe: displaying different contentunder single layout Pin
manojwadnere28-Dec-12 0:07
membermanojwadnere28-Dec-12 0:07 
QuestionRegular expression Pin
Member 962181822-Nov-12 2:25
memberMember 962181822-Nov-12 2:25 
Hi i want to check if a string contain 17+ or 1+7 or +17 or 17- or 1-7 or -17.Im trying this but its not working.
Can someone help?
var reg=/[-+]\d{2}|\d[-+]\d|\d{2}[-+]/;
 
    if (string.test(reg))
    {
        document.write("true");
 
    }

AnswerRe: Regular expression Pin
n.podbielski22-Nov-12 20:00
membern.podbielski22-Nov-12 20:00 
GeneralRe: Regular expression Pin
Manfred R. Bihy22-Nov-12 21:20
mvpManfred R. Bihy22-Nov-12 21:20 
GeneralRe: Regular expression Pin
n.podbielski23-Nov-12 21:15
membern.podbielski23-Nov-12 21:15 
Questionform validation Pin
therainking7821-Nov-12 22:07
membertherainking7821-Nov-12 22:07 
AnswerRe: form validation Pin
Richard MacCutchan21-Nov-12 22:17
mvpRichard MacCutchan21-Nov-12 22:17 
GeneralRe: form validation Pin
therainking7828-Nov-12 13:14
membertherainking7828-Nov-12 13:14 

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
Web01 | 2.8.160621.1 | Last Updated 1 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid