Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
Mod function in JS?
auvrm papu
Ranch Hand
Posts: 105
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
is there a mod function in JS?
like 10 % 2
or 10 mod 2
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Did you try it?
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
auvrm papu
Ranch Hand
Posts: 105
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thanks Bear..
I did try..before..and got an error..so I just wanted to verify...
(just figured out that I had some other issues ...in the paranthesis..! )
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You probably could have saved yourself some time by posting your code and the error that you were getting.
You should
also think about getting yourself a good JavaScript reference to answer these types of questions for you quickly.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Trying to look at only at the number in the "ones" digit place
Printing output of loop
Dan's Test Q on %
javascript import
Change Increment index of for loop in stored procedure
More...