Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-13-2006, 03:03 PM   #1
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 330

Rep: Reputation: 30
JS Object Name?

Alright, here is the code


var some_name = new DavidObject();

In this case I need from the function whoami to assign 'some_name' or whatever the object variable is named to the variable x in the function.

How might I do this?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get object name correctly allomeen Programming 1 01-26-2006 08:44 PM
C++ class-object? shivaligupta Programming 2 01-06-2005 02:25 AM
ldap_sasl_interactive_bind_s: No such object (32) wslyhbb Linux - Software 0 06-08-2004 01:23 PM
Event driven object-to-object: C++ template class mecanism ( NOT STL or STDC++) bretzeltux Programming 2 12-23-2003 02:45 PM
Returning an object Mohsen Programming 12 08-07-2003 02:41 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration