Click here to Skip to main content
15,889,456 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: Hidden field value in javascript Pin
Kornfeld Eliyahu Peter12-Nov-13 19:19
professionalKornfeld Eliyahu Peter12-Nov-13 19:19 
GeneralRe: Hidden field value in javascript Pin
vkEE3-Dec-13 10:35
vkEE3-Dec-13 10:35 
GeneralRe: Hidden field value in javascript Pin
Amir Hamza Md. Kayes6-Dec-13 9:16
professionalAmir Hamza Md. Kayes6-Dec-13 9:16 
QuestionScript to determine the optimal weight man Pin
bosko18-Nov-13 1:11
bosko18-Nov-13 1:11 
SuggestionRe: Script to determine the optimal weight man Pin
Richard MacCutchan8-Nov-13 1:27
mveRichard MacCutchan8-Nov-13 1:27 
GeneralRe: Script to determine the optimal weight man Pin
bosko18-Nov-13 9:47
bosko18-Nov-13 9:47 
GeneralRe: Script to determine the optimal weight man Pin
Richard MacCutchan8-Nov-13 22:51
mveRichard MacCutchan8-Nov-13 22:51 
QuestionTainted Canvas Pin
Paulo Augusto Kunzel31-Oct-13 1:55
professionalPaulo Augusto Kunzel31-Oct-13 1:55 
Hello,

I've being trying to get some animations done in a canvas which are quite similar to Create an HTML5 (and JavaScript) Maze Game with a timer[^]. Unfortunately I've got the same erro that happens on the project's article. Unless you use Firefox you'll get:

Unable to get image data from canvas because the canvas has been tainted by cross-origin data. 
Uncaught SecurityError: An attempt was made to break through the security policy of the user agent. 


From my research, you can add to google chrome shortcut the extension --disable-web-security or host the files in a localhost server.

Both ways can make it work, but I would like to know if there is a way for cross-origin not to taint the canvas? Something like a property from the canvas that I could disable/enable or some other coding related solution..
There are no secrets to success. It is the result of preparation, hard work, and learning from failure. Colin Powell


AnswerRe: Tainted Canvas Pin
enhzflep10-Nov-13 2:49
enhzflep10-Nov-13 2:49 
QuestionIs there any way to avoid activex in javascript ? Pin
nnithiyanand30-Oct-13 0:27
nnithiyanand30-Oct-13 0:27 
AnswerRe: Is there any way to avoid activex in javascript ? Pin
_Maxxx_3-Nov-13 18:34
professional_Maxxx_3-Nov-13 18:34 
Questionneed help to code in java to read a text file...i am beginner in java..pls help me Pin
creativesmart8825-Oct-13 10:46
creativesmart8825-Oct-13 10:46 
AnswerRe: need help to code in java to read a text file...i am beginner in java..pls help me Pin
Richard MacCutchan25-Oct-13 23:06
mveRichard MacCutchan25-Oct-13 23:06 
AnswerRe: need help to code in java to read a text file...i am beginner in java..pls help me Pin
Richard MacCutchan27-Oct-13 23:52
mveRichard MacCutchan27-Oct-13 23:52 
QuestionRe: need help to code in java to read a text file...i am beginner in java..pls help me Pin
thatraja28-Oct-13 1:08
professionalthatraja28-Oct-13 1:08 
Questionretaining jquery datepicker data between views in ASP:MultiView Pin
Brad7323-Oct-13 6:54
Brad7323-Oct-13 6:54 
QuestionWant pop or new wtndow Pin
abmanish7123-Oct-13 6:35
abmanish7123-Oct-13 6:35 
SuggestionRe: Want pop or new wtndow Pin
ZurdoDev29-Oct-13 9:12
professionalZurdoDev29-Oct-13 9:12 
GeneralRe: Want pop or new wtndow Pin
Sunasara Imdadhusen21-May-14 23:52
professionalSunasara Imdadhusen21-May-14 23:52 
QuestionAngular/Backbone/Knockout Security Question Pin
AnalogNerd22-Oct-13 3:17
AnalogNerd22-Oct-13 3:17 
Questionusing document.forms["MbrForm"].submit(); does not work - help! Pin
Member 860517720-Oct-13 4:53
Member 860517720-Oct-13 4:53 
QuestionDoubt in AJAX response obj Pin
Member 1013786815-Oct-13 0:19
Member 1013786815-Oct-13 0:19 
AnswerRe: Doubt in AJAX response obj Pin
thatraja15-Oct-13 5:20
professionalthatraja15-Oct-13 5:20 
QuestionScript running multiple times Pin
AnalogNerd10-Oct-13 10:49
AnalogNerd10-Oct-13 10:49 
AnswerRe: Script running multiple times Pin
DaveAuld13-Oct-13 21:38
professionalDaveAuld13-Oct-13 21:38 

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.