Click here to Skip to main content
15,124,972 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionSetting max length property of masked input control in ember js Pin
simpledeveloper22-Sep-20 6:45
Membersimpledeveloper22-Sep-20 6:45 
AnswerRe: Setting max length property of masked input control in ember js Pin
ZurdoDev22-Sep-20 7:07
professionalZurdoDev22-Sep-20 7:07 
QuestionNeed to mask Alphanumeric values with some special characters allowed Pin
simpledeveloper9-Sep-20 11:02
Membersimpledeveloper9-Sep-20 11:02 
AnswerRe: Need to mask Alphanumeric values with some special characters allowed Pin
W Balboos, GHB11-Sep-20 9:59
mveW Balboos, GHB11-Sep-20 9:59 
GeneralRe: Need to mask Alphanumeric values with some special characters allowed Pin
simpledeveloper21-Sep-20 9:14
Membersimpledeveloper21-Sep-20 9:14 
GeneralRe: Need to mask Alphanumeric values with some special characters allowed Pin
W Balboos, GHB21-Sep-20 10:07
mveW Balboos, GHB21-Sep-20 10:07 
GeneralRe: Need to mask Alphanumeric values with some special characters allowed Pin
simpledeveloper21-Sep-20 10:28
Membersimpledeveloper21-Sep-20 10:28 
GeneralRe: Need to mask Alphanumeric values with some special characters allowed Pin
W Balboos, GHB22-Sep-20 3:27
mveW Balboos, GHB22-Sep-20 3:27 
1) Whatever ember-control is, I don't use it. I use straight javaScript, no "frameworks".

2) Did you try, as I suggested yesterday, eliminating some of your special characters from your regex expression and see which of them work as expected? You didn't say.

OK - why I send you into this direction: I use php/javaScript/SQL all in the same page, which is often a generated page. It can absolutely not work on the basis of improperly handled nested single and double quotes - which only co-exist on the final page and it's occasionally not what one expects. Unless it sticks out in an obvious way (good luck) I need to roll back parts of the page creation until it works and then I have a point to look for what's not phased correctly.

You are in a similar situation: plain alpha-numeric filtering works. Your entire regex expression, however, does not. Do it piece by piece: only the alpha-numeric and then add one of your special characters. If it works, add another. If it fails - try another (not add to a failed version), which hopefully will now work without the know failure-causing character. For that matter, you may even wish to try just reversing the order of your special characters near the end of your regex expression.

But you've not told me what you have tried to uncover the problem - I want to teach you how to do this; much more valuable than the expression, itself.
Ravings en masse^
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

GeneralRe: Need to mask Alphanumeric values with some special characters allowed Pin
simpledeveloper22-Sep-20 6:47
Membersimpledeveloper22-Sep-20 6:47 
GeneralRe: Need to mask Alphanumeric values with some special characters allowed Pin
W Balboos, GHB22-Sep-20 6:53
mveW Balboos, GHB22-Sep-20 6:53 
GeneralPixelated in javascript Pin
Hasan Moussawi8-Sep-20 21:52
MemberHasan Moussawi8-Sep-20 21:52 
QuestionI have HTML and jQuery as below, I want to convert that into EmberJS Pin
simpledeveloper8-Sep-20 10:44
Membersimpledeveloper8-Sep-20 10:44 
SuggestionRe: I have HTML and jQuery as below, I want to convert that into EmberJS Pin
ZurdoDev9-Sep-20 11:36
professionalZurdoDev9-Sep-20 11:36 
GeneralRe: I have HTML and jQuery as below, I want to convert that into EmberJS Pin
simpledeveloper9-Sep-20 12:47
Membersimpledeveloper9-Sep-20 12:47 
QuestionFilter the JSON object Pin
kasimmohamed5-Sep-20 6:11
Memberkasimmohamed5-Sep-20 6:11 
QuestionHow to redirect in IE 11 Pin
huhuhhuhuh2-Sep-20 2:13
Memberhuhuhhuhuh2-Sep-20 2:13 
AnswerRe: How to redirect in IE 11 Pin
Richard Deeming2-Sep-20 3:52
mveRichard Deeming2-Sep-20 3:52 
AnswerRe: How to redirect in IE 11 Pin
huhuhhuhuh3-Sep-20 7:13
Memberhuhuhhuhuh3-Sep-20 7:13 
AnswerRe: How to redirect in IE 11 Pin
huhuhhuhuh4-Sep-20 3:33
Memberhuhuhhuhuh4-Sep-20 3:33 
AnswerRe: How to redirect in IE 11 Pin
Richard Deeming4-Sep-20 4:15
mveRichard Deeming4-Sep-20 4:15 
Questionwindow.open new window not showing up Pin
Member 1492460727-Aug-20 8:21
MemberMember 1492460727-Aug-20 8:21 
AnswerRe: window.open new window not showing up Pin
Richard MacCutchan27-Aug-20 23:35
mveRichard MacCutchan27-Aug-20 23:35 
GeneralRe: window.open new window not showing up Pin
Member 1492460728-Aug-20 7:00
MemberMember 1492460728-Aug-20 7:00 
GeneralRe: window.open new window not showing up Pin
Richard MacCutchan28-Aug-20 7:27
mveRichard MacCutchan28-Aug-20 7:27 
GeneralRe: window.open new window not showing up Pin
Member 1492460728-Aug-20 7:36
MemberMember 1492460728-Aug-20 7:36 

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.