Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 32
Search took 0.15 seconds.
Search: Posts Made By: hcrosex3
Forum: JavaScript programming 12-14-2012, 09:55 PM
Replies: 2
Views: 283
Posted By hcrosex3
Cookie returning undefined?

For some reason all of my cookies are setting fine through my setcookie function except one(VLN). The name and expiration are correct but the value us coming up undefined. Any suggestions?

var...
Forum: JavaScript programming 12-08-2012, 06:32 PM
Replies: 10
Views: 626
Posted By hcrosex3
Delete all cookies?

I currently have a function to expire the cookie when the user logs off. As of now it is not is not expiring the cookie any suggestions?

JS

/// Validate Field

function catchEvent(eventObj,...
Forum: JavaScript programming 12-06-2012, 09:07 PM
Replies: 9
Views: 409
Posted By hcrosex3
So I have cookie set but it does not show up in...

So I have cookie set but it does not show up in the text box when the page is returned too. any suggestions?


/// Validate Field

function catchEvent(eventObj, event, eventHandler) {
if...
Forum: JavaScript programming 12-06-2012, 07:54 PM
Replies: 9
Views: 409
Posted By hcrosex3
I added in this to make sure the cookie was saved...

I added in this to make sure the cookie was saved and it did work. but for some reason its not saving in the txt box.


this.value = val.substr(0,2) + "-" + val.substr(2,2) + "-" +...
Forum: JavaScript programming 12-06-2012, 05:48 PM
Replies: 9
Views: 409
Posted By hcrosex3
I assumed that the value was set when I...

I assumed that the value was set when I validated the field and converted the string. :x
Forum: JavaScript programming 12-06-2012, 04:15 PM
Replies: 9
Views: 409
Posted By hcrosex3
How to call a cookie?

Currently when I hit get cookie it tells me that my cookie is undefined. Any suggestions?

Html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"...
Forum: JavaScript programming 12-03-2012, 07:24 PM
Replies: 1
Views: 263
Posted By hcrosex3
Reformat number after input.

I'm trying you have the number entered be reformatted to add dashes after validation. But it is not working. Any suggestions?
function validateField ()
{
var rgEX =...
Forum: JavaScript programming 11-30-2012, 09:52 PM
Replies: 11
Views: 388
Posted By hcrosex3
theres an extensive external js file for the rest...

theres an extensive external js file for the rest of the site :x text controls whats in the div when paired with everything else.
Forum: JavaScript programming 11-30-2012, 09:50 PM
Replies: 11
Views: 388
Posted By hcrosex3
It looks like this now but still no luck :( ...

It looks like this now but still no luck :(

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">




<head>
<script...
Forum: JavaScript programming 11-30-2012, 09:02 PM
Replies: 11
Views: 388
Posted By hcrosex3
Validation

I'm not sure why this is not validating on blur. Any suggestions?


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">




<head>
Forum: JavaScript programming 11-27-2012, 08:26 PM
Replies: 1
Views: 288
Posted By hcrosex3
Storing Information form data in a cookie

i'm trying to make it so that after validation if the data has been previously saved it should be retrieved from the cookie and displayed on the page . Currently it doesn't seem as if the cookie is...
Forum: JavaScript programming 11-19-2012, 05:26 PM
Replies: 9
Views: 544
Posted By hcrosex3
Set Time out to redirect to index.

i currently have this script that redirects after timeout back to the previous page. How can I set it go to a specific page (index.html)? Also is it possible to show a countdown of the timeout timer...
Forum: JavaScript programming 11-04-2012, 06:39 PM
Replies: 6
Views: 642
Posted By hcrosex3
Yes! This is exactly what i'm trying to do but...

Yes! This is exactly what i'm trying to do but now if I was to try and reverse the direction onlick I thought I would put in onclick= moveLeft() but that just makes the image shake in place. Im...
Forum: JavaScript programming 11-04-2012, 04:13 PM
Replies: 6
Views: 642
Posted By hcrosex3
Ahh slip of the finger , rookie mistake. :P thank...

Ahh slip of the finger , rookie mistake. :P thank you! But see the image continues to move across the screen extending the length of the browser window. I don't want it to do that I want it to stop...
Forum: JavaScript programming 11-04-2012, 01:51 PM
Replies: 6
Views: 642
Posted By hcrosex3
Script to Move Image across the screen

I have a small script. I am trying to move the image from the left side of the page to right and back and then once it reaches the left it will jump back to the right. For some reason it is not...
Forum: JavaScript programming 10-27-2012, 04:52 PM
Replies: 2
Views: 237
Posted By hcrosex3
Appending text to webpage using DOM

I'm trying to make it so that on blur text that the user inserts into the textbox is added to the page. For some reason my script isn't providing any output. Does anyone have an suggestions?
...
Forum: JavaScript programming 10-19-2012, 10:13 PM
Replies: 5
Views: 567
Posted By hcrosex3
I'm sorry im a bit lost. I'm asking it to call...

I'm sorry im a bit lost. I'm asking it to call this function. Within that function there is logic. I could write it as deleteCookie(name) and add the cookie name as an arg but that wont make it work...
Forum: JavaScript programming 10-19-2012, 02:13 PM
Replies: 5
Views: 567
Posted By hcrosex3
Yes, that is why i'm trying to call the delete...

Yes, that is why i'm trying to call the delete cookie function that I have within the script but it does nothing.
Forum: JavaScript programming 10-18-2012, 10:41 PM
Replies: 5
Views: 567
Posted By hcrosex3
Using onclick to refresh page and delete cookie

I'm trying to get my button that calls a function that deletes all cookies and reloads the page. For some reason the cookie is not being deleted (is not expiring) Any suggestions?

<!DOCTYPE html...
Forum: JavaScript programming 09-28-2012, 06:13 PM
Replies: 3
Views: 465
Posted By hcrosex3
so I've made some edits to the code. What i'm...

so I've made some edits to the code. What i'm looking to happen is it will verify the use wants to leave the box unchecked and then from there verify all the other form field.
As of now it is...
Forum: JavaScript programming 09-27-2012, 07:10 PM
Replies: 3
Views: 465
Posted By hcrosex3
Validation of all elements on submit

How would I go about checking on submit if the user wants to leave the box unchecked and then validate all the form elements except the checkbox?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
Forum: JavaScript programming 09-27-2012, 05:19 PM
Replies: 4
Views: 410
Posted By hcrosex3
Ahh beginners mistakes thank you!

Ahh beginners mistakes thank you!
Forum: JavaScript programming 09-27-2012, 02:08 PM
Replies: 4
Views: 410
Posted By hcrosex3
For some reason now , whether or not I put in a...

For some reason now , whether or not I put in a capital letter it returns false. And the zip code function returns nothing. this is the code I used.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
Forum: JavaScript programming 09-26-2012, 08:40 PM
Replies: 4
Views: 410
Posted By hcrosex3
Form Validation on blur

I am trying to have my form include these two boxes.
One that requires 5 digit numeric input
and another that requires the first letter to be capitalized. The capitalization is working. But im...
Forum: JavaScript programming 09-23-2012, 09:39 PM
Replies: 7
Views: 1,536
Posted By hcrosex3
I settled for <p><a href="#" ...

I settled for <p><a href="#" onclick="changeImg('umph.png')" onmouseout="fiveSecond();"> <img src="image1.png" width="88" height="64" border="0" id="img1" /></a>Brick</p>
which works pretty...
Showing results 1 to 25 of 32

 
Forum Jump

All times are GMT +1. The time now is 10:58 AM.