9,869,444 members (28,702 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
372 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 15
Page Size:
10
·
25
·
50
Author filtered by: Graham Breach
[x]
how to hide print button on hard copy while printing in javascript
by
Graham Breach
Answer
11 May 2013
license:
CPOL
Use CSS @media print or a print stylesheet to hide the button when it is printed. That way it will be hidden on the printout whether the button is used to print or not.See http://reference.sitepoint.com/css/at-media[^] and http://reference.sitepoint.com/html/link/media[^] for details.
General Programming
»
Uncategorised Quick Answers
»
General
ASP
Javascript
Why does nor work my validation rule?
by
Graham Breach
Answer
7 May 2013
license:
CPOL
Because you started the name of your callback function with "_". Try changing the name to "rules_accept" and take out the extra "_" to make it "callback_rules_accept".
General Programming
»
Uncategorised Quick Answers
»
General
PHP
CodeIgniter
how can I make mouseevent only when I cross shape(made by lineTo(),not whole canvas)?
by
Graham Breach
Answer
3 May 2013
license:
CPOL
You can't. You have to translate the mouse position into a position on your canvas, then determine whether that position is inside or outside your figure. The isPointInPath function[^] should help you out.Or you could use a library to do all the hard work for you:...
General Programming
»
Uncategorised Quick Answers
»
General
HTML5
Javascript inside SVG Image doesn't get executed
by
Graham Breach
Answer
29 Apr 2013
license:
CPOL
There are a couple of things that you have to fix here. The first is a missing ]]> at the end of the script block to close the
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
DOM
SVG
Re: jQuery Question
by
Graham Breach
Forum Message
26 Apr 2013
That is the attribute contains selector[
Web Development
»
Javascript
avoid continuous blank spaces
by
Graham Breach
Answer
12 Apr 2013
license:
CPOL
You could do it with a regular expression, either in Javascript or PHP:Javascript version:function removeSpaces(ctrl){ var s = ctrl.value; ctrl.value = s.replace(/\s+/g, ' ');}
General Programming
»
Uncategorised Quick Answers
»
General
PHP
jQuery
Re: IE(10) has problems with SELECT.onchange
by
Graham Breach
Forum Message
11 Apr 2013
Looks like a weird browser bug to me. I've had a play with your script and found an ugly workaround by blurring the select box in the onchange handler: document.forms[0].sel.on
Web Development
»
Javascript
Re: How can I submit form without the querystring
by
Graham Breach
Forum Message
10 Apr 2013
The easy way is to use the POST method instead of GET for your form.
Web Development
»
Javascript
whtas meaning ~ when use css code
by
Graham Breach
Answer
5 Apr 2013
license:
CPOL
It's the CSS 3 general sibling selector: http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#general-sibling-combinators[^]
General Programming
»
Uncategorised Quick Answers
»
General
CSS3
To provide bg color to tag
by
Graham Breach
Answer
4 Apr 2013
license:
CPOL
Hyphenated CSS attributes have to be converted into camel case when using Javascript:function colorValue(){ var activeCompletedOnHold = form.active_Completed_OnHold.value; if(activeCompletedOnHold=="Active1") { this.style.backgroundColor='#347C17'; } else...
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
Re: Slide show
by
Graham Breach
Forum Message
21 Mar 2013
You have removed the code from inside the "slideit" function, so now there is no way for it to repeat and the setTimeout(slideit, 3500) is trying to call a function that doesn't exist.
Web Development
»
Javascript
How to design a fixed width font ?
by
Graham Breach
Answer
10 Mar 2013
license:
CPOL
If you want a bitmap font, Fony[^] is quite a good editor.You can use fonts without installing them with AddFontResource[^] or one of the related functions.
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
Re: Getting Started With Web Development
by
Graham Breach
Forum Message
5 Mar 2013
I don't know of any decent books, but W3Schools covers everything you need to get started: http://www.w3schools.com/[
Web Development
»
Web Development
SQLite Database in c++
by
Graham Breach
Answer
4 Mar 2013
license:
CPOL
You need to check all of the "error" return values from the functions. Apart from that, you create a table called "example", then try to insert into a table called "exampe".
General Programming
»
Uncategorised Quick Answers
»
General
C++
Sqlite
Re: Getting child json elements
by
Graham Breach
Forum Message
3 Mar 2013
If you have it as a string, then parsed = JSON.parse(yourString) will convert it to an Object. Then you can access the parts you want as parsed.result_WarningMessage and
Web Development
»
Javascript
working on array in php
by
Graham Breach
Answer
2 Mar 2013
license:
CPOL
There is a list of them in the PHP manual: Array functions[^]
General Programming
»
Uncategorised Quick Answers
»
General
PHP
Interpolation with single quotes in Javascript
by
Graham Breach
Answer
25 Feb 2013
license:
CPOL
You have an extra closing parenthesis ")" in your first for loop: if ($("#categories_terms_root" + i)).val() == '') {Should be: if ($("#categories_terms_root" + i).val() == '') {
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
Using JScript on server side
by
Graham Breach
Answer
22 Feb 2013
license:
CPOL
You could take a look at node.js: http://nodejs.org/about/[^]
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
HTML
Web-Development
Re: Reading a comma delimited file to array
by
Graham Breach
Forum Message
13 Feb 2013
Replace the double-quotes in your comparison with single-quotes. In C and C++, double-quotes mean a pointer to a string of characters, but single-quotes mean a character literal.
General Programming
»
C / C++ / Mfc
Re: Record insertion error in php
by
Graham Breach
Forum Message
7 Feb 2013
What does the error message you got from mysql_error() say? If you converted the outer quotes to double-quotes, did you then single-quote the values in the query?
Web Development
»
Linux, Apache, Mysql, Php
Re: Record insertion error in php
by
Graham Breach
Forum Message
7 Feb 2013
You should use mysql_error() to see the reason why the query failed, but my guess is that it will say something like "table $database.Emp_Details does not exist". You have used single
Web Development
»
Linux, Apache, Mysql, Php
How to get a vlaue of Dropdown and Input files ?
by
Graham Breach
Answer
6 Feb 2013
license:
CPOL
The month value has to be inside the form if you want it sent to the server. Either move the drop-down inside the form tag, or increase the area of the form to take in the drop-down.Another option is copying the value from the drop-down into a hidden field inside the form using Javascript,...
General Programming
»
Uncategorised Quick Answers
»
General
PHP
Re: how to get private key from a file (not from a keystore) to sign data ?
by
Graham Breach
Forum Message
5 Feb 2013
If that is your actual private key file, then it is not private anymore.
General Programming
»
C / C++ / Mfc
how to register or add-listener for event of div.onresize for major browsers (IE, firefox and google)?
by
Graham Breach
Answer
30 Jan 2013
license:
CPOL
Element resizing events are not well supported by browsers, so you would be better off using the window resize event.Take a look at the QuirksMode compatibility chart: http://www.quirksmode.org/dom/events/resize.html[^]
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
CSS
HTML
jQuery
RegEx and Apache rewrite making me crazy!
by
Graham Breach
Answer
26 Jan 2013
license:
CPOL
I think the problem in your rule is the \$ matching a literal "$" sign, when it should be just $ to match the end of the string.Take a look at the URL rewriting guide[^] for some decent examples.
General Programming
»
Uncategorised Quick Answers
»
General
Apache
Page 1 of 15
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web04 | 2.6.130513.1 | Last Updated 15 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid