15,917,731 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by R!sh! (Top 19 by date)
R!sh!
9-May-20 7:27am
View
How do I split night shifts in 2 days?
like till 11.59pm previous day(04/05/2020) and working hours after 12am (05/05/2020)
R!sh!
11-Apr-17 0:46am
View
This in not my homework. if i get the proper code my project will be done. this is the part left.
R!sh!
6-Apr-17 7:15am
View
yup done.
Thank you..!!
R!sh!
6-Apr-17 1:04am
View
try this code.
i got it.
var atomss = atoma.split("**");
atomss.join("");
var res123 = String(atomss);
for (x=1;x<=cnt;x++)
{
document.getElementById(x).checked = res123.indexOf(x) > -1;
}
R!sh!
6-Apr-17 0:47am
View
atoma will have 1**3**4**5**6**7. but i am getting that it will string datatype or any other datatype.
the function is calling. no problem with function calling.
R!sh!
6-Apr-17 0:22am
View
function go1(atoma)
{
var cnt = document.getElementById('tot_cnt').value;// cnt(count) value is 9
var atomss = atoma.split("**");
for (x=1;x<=cnt;x++)
{
document.getElementById(x).checked = atomss.indexOf(x) > -1;
}
// in the beginning all the checkboxes will be checked.
// after using the same code all the checkboxes will be unchecked.
R!sh!
6-Apr-17 0:17am
View
i am getting those arr values from another perl file. it will be like 1**3**4**5**6**7. i used split("**") and the output is like 1,3,4,5,6,7.
i am storing those 1,3,4,5,6,7 in var arr. This is what i am doing.
R!sh!
6-Apr-17 0:13am
View
ya its working. but when i put the same code in mine application, it's not working. i am getting those arr values from other file.
R!sh!
5-Apr-17 23:52pm
View
I have written everything in javascript.
R!sh!
27-Mar-17 6:04am
View
collecting the output of printed lines is not possible?
R!sh!
27-Mar-17 5:44am
View
I am using linux( fedora 22)
R!sh!
27-Mar-17 5:43am
View
how do i collect back the printed data in c file. I have printed the output using printf.
R!sh!
27-Mar-17 5:43am
View
sorry for not providing proper information. C file just prints the output. That output I need. Code is such that, once the data is printed it will stop execution and your clarification is correct.
R!sh!
1-Mar-17 23:40pm
View
okk thank you
R!sh!
28-Feb-17 5:51am
View
can you give the logic for sorting that type of array?
R!sh!
17-Feb-17 0:18am
View
can you give your answer please??
R!sh!
16-Feb-17 23:55pm
View
it is coming in reverse order.
R!sh!
8-Feb-17 4:14am
View
finally i did it. :D
R!sh!
8-Feb-17 4:14am
View
my solution. :)
Show More