Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 11 of 11
Search took 0.11 seconds.
Search: Posts Made By: TheIntern
Forum: JavaScript programming 02-08-2012, 03:13 PM
Replies: 6
Views: 781
Posted By TheIntern
Make first character in textbox invisible?

I have a text input field that was created with JS on a screen. The input is padded with a 0 for the first character to work with the server. I was wondering if there is any way to make that 0...
Forum: JavaScript programming 02-02-2012, 05:53 PM
Replies: 11
Views: 508
Posted By TheIntern
because if the object's name like I pseudo-coded...

because if the object's name like I pseudo-coded above is passed in, it wont be null or undefined, yet it may or may not exist
Forum: JavaScript programming 02-02-2012, 05:05 PM
Replies: 11
Views: 508
Posted By TheIntern
I'm trying to make a general 'Exists' method and...

I'm trying to make a general 'Exists' method and even though I don't think its a good idea to use it on variables, ( I guess for variables its more to see if they have a value) if someone passes in a...
Forum: JavaScript programming 02-02-2012, 04:29 PM
Replies: 11
Views: 508
Posted By TheIntern
yes but the thing is that say you have the...

yes but the thing is that say you have the variable

var str = "Name";
Function(str)

its type will be a string
*EDIT*: I mean inside of the function it will be a string, on a different module...
Forum: JavaScript programming 02-02-2012, 03:36 PM
Replies: 11
Views: 508
Posted By TheIntern
How to tell if input is Variable or just String?

I am making a function where I need to know whether the input is a variable with a string value

var foo = "bar";
Function(foo)

or if it is a string, wherein it would be the name of an object
...
Forum: JavaScript programming 02-01-2012, 08:53 PM
Replies: 5
Views: 345
Posted By TheIntern
Yea, that's all I've seen so far. I don't really...

Yea, that's all I've seen so far. I don't really consider it real overloading, but rather just imitating it. Its hard to get an answer as to if this is what they're looking for or not for an answer.
Forum: JavaScript programming 02-01-2012, 07:49 PM
Replies: 5
Views: 345
Posted By TheIntern
*Real* Overloading in JS?

I need to figure out a way to manipulate the arguments or functions or something somehow to have overloaded functions in JS.

All I have found so far is people making like a switchboard function...
Forum: JavaScript programming 01-31-2012, 04:46 PM
Replies: 9
Views: 770
Posted By TheIntern
Yea I just implemented that, except created two...

Yea I just implemented that, except created two else if's one for if its true and one to return if its false as this checks more than just objects (things in arrays and all that)

Thanks for your...
Forum: JavaScript programming 01-31-2012, 04:11 PM
Replies: 9
Views: 770
Posted By TheIntern
Thanks, this works as it just passes in...

Thanks, this works as it just passes in 'undefined', although they still want me to try and make it more generic I think, (passing in just the name).

As for the !ButtonObject, they want to make...
Forum: JavaScript programming 01-31-2012, 03:34 PM
Replies: 9
Views: 770
Posted By TheIntern
I can't, thats against company policy. And I...

I can't, thats against company policy. And I know it won't exist until I create it, that is why I was asked to create an Exist method to prevent the use of an non-existant object.

What I can say...
Forum: JavaScript programming 01-31-2012, 02:01 PM
Replies: 9
Views: 770
Posted By TheIntern
Object 'Exists' function

I am tasked with making a function that can accept many different items and return whether or not they exist.

Currently I am struggling on seeing if an object that holds all the methods for a...
Showing results 1 to 11 of 11

 
Forum Jump

All times are GMT +1. The time now is 12:01 AM.