Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 30
Search took 0.09 seconds.
Search: Posts Made By: TooCrooked
Forum: JavaScript programming 03-05-2012, 11:18 PM
Replies: 9
Views: 608
Posted By TooCrooked
NEVER ever, in any script, use "document.write"....

NEVER ever, in any script, use "document.write". never. not to say there are no applications for that, but just don't do it. alert it for testing, or use another method for inserting information into...
Forum: JavaScript programming 03-05-2012, 11:05 PM
Replies: 9
Views: 608
Posted By TooCrooked
first, this is unnecessary: function...

first, this is unnecessary:

function getCookies() {
var docCookie = document.cookie;
alert (docCookie);
}

just do:

function getCookies() {
Forum: DOM and JSON scripting 03-05-2012, 12:51 PM
Replies: 10
Views: 1,015
Posted By TooCrooked
man... no "forum" thanks?! geez.. (:

man... no "forum" thanks?! geez.. (:
Forum: DOM and JSON scripting 03-05-2012, 01:28 AM
Replies: 6
Views: 20,045
Posted By TooCrooked
you may be in over your head here. you'd have to...

you may be in over your head here. you'd have to craft a specially designed AJAX script to allow javascript to request information for your PHP programs and dynamically insert that information into...
Forum: DOM and JSON scripting 03-04-2012, 08:34 PM
Replies: 10
Views: 1,015
Posted By TooCrooked
figured it out... mostly. it works if you...

figured it out... mostly.

it works if you put an alert in there because when you clear the alert, cstC() is called as the result of onblur (put an alert in cstc there to see what i mean)

i...
Forum: DOM and JSON scripting 03-04-2012, 08:08 PM
Replies: 10
Views: 1,015
Posted By TooCrooked
nm, im an idiot.. troubleshooting

nm, im an idiot..

troubleshooting
Forum: JavaScript programming 03-04-2012, 07:36 PM
Replies: 9
Views: 608
Posted By TooCrooked
here's a well designed tutorial:...

here's a well designed tutorial: http://www.elated.com/articles/javascript-and-cookies/

the tutorial explains the syntax and each argument in detail. you can't fail if you follow it.

to set a...
Forum: DOM and JSON scripting 03-04-2012, 07:07 PM
Replies: 6
Views: 20,045
Posted By TooCrooked
there's no such thing as "refreshing" an element...

there's no such thing as "refreshing" an element (whether that element be a div, table, or otherwise). there's modifying an elements current state (and/or contents), however.

that said, can you...
Forum: JavaScript programming 03-04-2012, 02:56 PM
Replies: 10
Views: 756
Posted By TooCrooked
WOW! IT S A GOOD THING I CALLED THEM "ARGUMENTS"...

WOW! IT S A GOOD THING I CALLED THEM "ARGUMENTS" THEN!!! WHEH! DODGED a weak semantical bullet THERE!!!
Forum: DOM and JSON scripting 03-04-2012, 02:02 AM
Replies: 5
Views: 774
Posted By TooCrooked
did you read my second post where i explained...

did you read my second post where i explained that your code works as expected (in FF at least) when it's overtop an element that isn't just the "document.body" element? that could be a suitable...
Forum: JavaScript programming 03-04-2012, 01:58 AM
Replies: 9
Views: 1,268
Posted By TooCrooked
it wont work without invoking some type of server...

it wont work without invoking some type of server side logic. if you were to try to use javascript to request an external resource (such as the URLs of your link) with AJAX, it would fail to work...
Forum: DOM and JSON scripting 03-03-2012, 11:00 PM
Replies: 5
Views: 774
Posted By TooCrooked
one thing i noticed however is that if you try to...

one thing i noticed however is that if you try to mess with the cursor over top an area (in FF, maybe chrome) that doesn't have some "element" on it, you dont get the expected results.

put this...
Forum: DOM and JSON scripting 03-03-2012, 10:53 PM
Replies: 5
Views: 774
Posted By TooCrooked
hrm... works for me in FF 9.0.1

hrm... works for me in FF 9.0.1
Forum: JavaScript programming 03-03-2012, 10:10 PM
Replies: 10
Views: 756
Posted By TooCrooked
ah. i don't screw around with frameworks. they...

ah. i don't screw around with frameworks. they only cause trouble when you start with them instead of understanding the underlying javascript.

you may want to try your luck in the "JavaScript...
Forum: JavaScript programming 03-03-2012, 07:38 PM
Replies: 10
Views: 756
Posted By TooCrooked
pass those along as variables to your function ...

pass those along as variables to your function

<script>
function ifElse(x,y) // any arguments passed to this function are referenced as "x" and "y" in that order
{
alert(x+"\n"+y) // random...
Forum: JavaScript programming 03-03-2012, 07:27 PM
Replies: 10
Views: 756
Posted By TooCrooked
....put the if/else into a function and call the...

....put the if/else into a function and call the function.
Forum: DOM and JSON scripting 03-03-2012, 07:24 PM
Replies: 2
Views: 818
Posted By TooCrooked
not really.. the best you could do is to take a...

not really.. the best you could do is to take a snapshot of the document using cloneNode

https://developer.mozilla.org/en/DOM/Node.cloneNode

... and then write some type of program designed to...
Forum: DOM and JSON scripting 03-03-2012, 07:03 PM
Replies: 10
Views: 1,015
Posted By TooCrooked
if you gave me exact function and field names,...

if you gave me exact function and field names, and gave me a step by step guide on how to walk the code, i could possibly provide insight

e.g.:

1) put cursor into "cst" field
2) type ..
3)...
Forum: DOM and JSON scripting 03-03-2012, 07:00 PM
Replies: 10
Views: 1,015
Posted By TooCrooked
i took a quick second to try and understand how...

i took a quick second to try and understand how this works. one of the problems i ran into is ambiguity. i can't easily determine what "cst" is supposed to represent (for one example). is it what you...
Forum: JavaScript programming 03-30-2011, 07:09 PM
Replies: 4
Views: 825
Posted By TooCrooked
push.

push.
Forum: JavaScript programming 03-20-2011, 04:12 AM
Replies: 4
Views: 825
Posted By TooCrooked
because i clearly said: in my original...

because i clearly said:



in my original topic.
Forum: JavaScript programming 03-19-2011, 05:37 AM
Replies: 4
Views: 825
Posted By TooCrooked
Using Firebog to track unobtrusive javascript events?

without outside extensions (http://remi.org/2009/01/06/using-firebug-to-debug-unobtrusive-javascript), how does one debug javascript events on a webpage that primarily relies on unobtrusive JS...
Forum: Flash & ActionScript 06-12-2010, 09:23 PM
Replies: 0
Views: 2,234
Posted By TooCrooked
Post changing the aspect ratio of a video played through a website?

hi,

is there any way to change the aspect ratio of a video as it's played on another website? see the following clip:

http://www.youtube.com/watch?v=DIFaeqwES1Y

it's a 6:9 video stretch to...
Forum: Java and JSP 04-10-2010, 10:23 PM
Replies: 12
Views: 3,486
Posted By TooCrooked
it was you who suggested that each object should...

it was you who suggested that each object should be a string. this was never my intention and i never stated this.i even asked you to back up why were assuming "student" was a string arraylist, and...
Forum: Java and JSP 04-10-2010, 10:20 PM
Replies: 12
Views: 3,486
Posted By TooCrooked
whoops

whoops
Showing results 1 to 25 of 30

 
Forum Jump

All times are GMT +1. The time now is 07:07 PM.