Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #6824 > unrolled thread

How can i know the propery of a javascript object how can i see what object inclue

Started bysismaster <singh.ranalko@gmail.com>
First post2012-08-21 22:18 -0700
Last post2012-08-25 01:46 +0000
Articles 8 on this page of 48 — 13 participants

Back to article view | Back to comp.lang.php


Contents

  How can i know the propery of a javascript object  how can i see what object inclue sismaster <singh.ranalko@gmail.com> - 2012-08-21 22:18 -0700
    Re: How can i know the propery of a javascript object  how can i see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-22 06:43 -0400
      Re: How can i know the propery of a javascript object  how can i  see what object inclue Robert Heller <heller@deepsoft.com> - 2012-08-22 06:06 -0500
        Re: How can i know the propery of a javascript object  how can i  see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-22 08:17 -0400
        Re: How can i know the propery of a javascript object  how can i  see what object inclue Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-23 00:36 +0200
          Re: How can i know the propery of a javascript object  how can i  see what object inclue The Natural Philosopher <tnp@invalid.invalid> - 2012-08-23 00:54 +0100
          Re: How can i know the propery of a javascript object  how can i  see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-23 11:03 -0400
            Re: How can i know the propery of a javascript object  how can i  see what object inclue Scott Johnson <noonehome@chalupasworld.com> - 2012-08-23 11:10 -0700
              Re: How can i know the propery of a javascript object  how can i see what object inclue Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-24 00:27 +0200
                Re: How can i know the propery of a javascript object  how can i see what object inclue The Natural Philosopher <tnp@invalid.invalid> - 2012-08-23 23:41 +0100
                  Re: How can i know the propery of a javascript object  how can i see what object inclue The Natural Philosopher <tnp@invalid.invalid> - 2012-08-23 23:43 +0100
                  Re: How can i know the propery of a javascript object  how can i see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-23 20:05 -0400
                  Re: How can i know the propery of a javascript object  how can i see what object inclue Bertrand Mayesky <not.a@real.adress.com> - 2012-08-24 21:42 +0000
                    Re: How can i know the propery of a javascript object  how can i see what object inclue Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-25 00:22 +0200
                    Re: How can i know the propery of a javascript object  how can i see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-24 19:37 -0400
                      Re: How can i know the propery of a javascript object  how can i see what object inclue Jeff North <jnorthau@yahoo.com.au> - 2012-08-25 10:30 +1000
                        Re: How can i know the propery of a javascript object  how can i see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-24 22:39 -0400
                        Re: How can i know the propery of a javascript object  how can i see what object inclue Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-25 13:17 +0200
                          Re: How can i know the propery of a javascript object  how can i see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-25 09:38 -0400
                          Re: How can i know the propery of a javascript object  how can i see what object inclue "Peter H. Coffin" <hellsop@ninehells.com> - 2012-08-25 13:34 -0500
                            Re: How can i know the propery of a javascript object  how can i see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-25 14:59 -0400
                            Re: How can i know the propery of a javascript object  how can i see what object inclue "Peter H. Coffin" <hellsop@ninehells.com> - 2012-08-25 14:13 -0500
                              Re: How can i know the propery of a javascript object  how can i see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-25 16:23 -0400
                              Re: How can i know the propery of a javascript object  how can i see what object inclue Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-26 20:33 +0200
                            Re: How can i know the propery of a javascript object  how can i see what object inclue Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-26 20:32 +0200
                              Re: How can i know the propery of a javascript object  how can i see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-26 19:49 -0400
                    Re: How can i know the propery of a javascript object  how can i see what object inclue The Natural Philosopher <tnp@invalid.invalid> - 2012-08-25 00:45 +0100
                Re: How can i know the propery of a javascript object  how can i see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-23 20:03 -0400
            Re: How can i know the propery of a javascript object  how can i  see what object inclue Christoph Becker <cmbecker69@gmx.de> - 2012-08-26 15:46 +0200
              Re: How can i know the propery of a javascript object  how can i  see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-26 10:41 -0400
                Re: How can i know the propery of a javascript object  how can i  see what object inclue Christoph Becker <cmbecker69@gmx.de> - 2012-08-26 17:42 +0200
                  Re: How can i know the propery of a javascript object  how can i  see what object inclue The Natural Philosopher <tnp@invalid.invalid> - 2012-08-26 19:02 +0100
                  Re: How can i know the propery of a javascript object  how can i  see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-26 19:52 -0400
                    Re: How can i know the propery of a javascript object  how can i  see what object inclue Christoph Becker <cmbecker69@gmx.de> - 2012-08-27 02:59 +0200
                      Re: How can i know the propery of a javascript object  how can i  see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-26 21:28 -0400
                    Re: How can i know the propery of a javascript object  how can i  see what object inclue mavigozler <mavigozler@turkiye.gov.invalid> - 2012-08-27 04:47 +0000
                      Re: How can i know the propery of a javascript object  how can i  see what object inclue Tim Streater <timstreater@greenbee.net> - 2012-08-27 10:17 +0100
                        Re: How can i know the propery of a javascript object  how can i  see what object inclue mavigozler <mavigozler@turkiye.gov.invalid> - 2012-08-27 11:32 +0000
                          Re: How can i know the propery of a javascript object  how can i  see what object inclue Tim Streater <timstreater@greenbee.net> - 2012-08-27 12:49 +0100
                          Re: How can i know the propery of a javascript object  how can i  see what object inclue Denis McMahon <denismfmcmahon@gmail.com> - 2012-08-27 22:46 +0000
                            Re: How can i know the propery of a javascript object  how can i  see what object inclue The Natural Philosopher <tnp@invalid.invalid> - 2012-08-27 23:51 +0100
                              Re: How can i know the propery of a javascript object  how can i  see what object inclue Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-27 21:00 -0400
              Re: How can i know the propery of a javascript object  how can i  see what object inclue "Peter H. Coffin" <hellsop@ninehells.com> - 2012-08-26 10:35 -0500
                Re: How can i know the propery of a javascript object  how can i  see what object inclue Christoph Becker <cmbecker69@gmx.de> - 2012-08-26 18:53 +0200
                  Re: How can i know the propery of a javascript object  how can i see what object inclue Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-26 20:47 +0200
                  Re: How can i know the propery of a javascript object  how can i see what object inclue Tim Streater <timstreater@greenbee.net> - 2012-08-26 22:59 +0100
                    Re: How can i know the propery of a javascript object  how can i see what object inclue Christoph Becker <cmbecker69@gmx.de> - 2012-08-27 00:20 +0200
    Re: How can i know the propery of a javascript object  how can i see what object inclue Denis McMahon <denismfmcmahon@gmail.com> - 2012-08-25 01:46 +0000

Page 3 of 3 — ← Prev page 1 2 [3]


#6885 — Re: How can i know the propery of a javascript object how can i see what object inclue

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2012-08-27 23:51 +0100
SubjectRe: How can i know the propery of a javascript object how can i see what object inclue
Message-ID<k1gtle$i23$1@news.albasani.net>
In reply to#6884
Denis McMahon wrote:
> On Mon, 27 Aug 2012 11:32:47 +0000, mavigozler wrote:
> 
>> I don't want to take away from the guy:  he's an academic who clearly
>> looks into "why" and not just into "how," and the discipline is
>> fortunate to have knowledgable individuals of his stature willing to
>> lead the ranks.  I am just questioning his teaching style:  berating the
>> students does not engender their desire to learn.
> 
> If he is genuinely an academic, he's the perfect embodiment of the saying 
> "those that can do, those that can't teach".
> 
> His sole "contribution" to www technology newsgroups, for as long as I've 
> been able to discern, is to criticise wherever possible the solutions 
> that other people post to anyone's questions.
> 
> He has never to my knowledge actually suggested code or markup himself in 
> response to a problem, even when challenged to offer a better solution in 
> response to his not uncommon posts along the lines of "your solution is 
> flawed", his only ability seems to be to criticise the solutions posted 
> by others.
> 

WAre we talking about Jerry here?

> I was initially taken in by his apparent knowledge, but quickly came to 
> realise that he's just an ignorant, arrogant and pompous old twat with 
> too much time on his hands.
> 

Yup: That has to be Jerry.

> Jerry S can be pompous too, but at least he knows what the fuck he's 
> talking about,

Er no, mostly he doesn't.

  and if he's arrogant, well I figure he's earned the right
> to be.
> 

Nope. You will not find one single line of code posted by Jerry  to a 
certainty in the two years before I finally killed filed the asshole.

The salient difference is that Thomasis usually right, .

Neither are especially helpful, but Thomas is at least amusing in his 
pedantry.



> Rgds
> 
> Denis McMahon


-- 
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to 
lead are elected by the least capable of producing, and where the 
members of society least likely to sustain themselves or succeed, are 
rewarded with goods and services paid for by the confiscated wealth of a 
diminishing number of producers.

[toc] | [prev] | [next] | [standalone]


#6886 — Re: How can i know the propery of a javascript object how can i see what object inclue

FromJerry Stuckle <jstucklex@attglobal.net>
Date2012-08-27 21:00 -0400
SubjectRe: How can i know the propery of a javascript object how can i see what object inclue
Message-ID<k1h573$98i$2@dont-email.me>
In reply to#6885
On 8/27/2012 6:51 PM, The Natural Philosopher wrote:
> Denis McMahon wrote:
>> On Mon, 27 Aug 2012 11:32:47 +0000, mavigozler wrote:
>>
>>> I don't want to take away from the guy:  he's an academic who clearly
>>> looks into "why" and not just into "how," and the discipline is
>>> fortunate to have knowledgable individuals of his stature willing to
>>> lead the ranks.  I am just questioning his teaching style:  berating the
>>> students does not engender their desire to learn.
>>
>> If he is genuinely an academic, he's the perfect embodiment of the
>> saying "those that can do, those that can't teach".
>>
>> His sole "contribution" to www technology newsgroups, for as long as
>> I've been able to discern, is to criticise wherever possible the
>> solutions that other people post to anyone's questions.
>>
>> He has never to my knowledge actually suggested code or markup himself
>> in response to a problem, even when challenged to offer a better
>> solution in response to his not uncommon posts along the lines of
>> "your solution is flawed", his only ability seems to be to criticise
>> the solutions posted by others.
>>
>
> WAre we talking about Jerry here?
>
>> I was initially taken in by his apparent knowledge, but quickly came
>> to realise that he's just an ignorant, arrogant and pompous old twat
>> with too much time on his hands.
>>
>
> Yup: That has to be Jerry.
>
>> Jerry S can be pompous too, but at least he knows what the fuck he's
>> talking about,
>
> Er no, mostly he doesn't.
>
>   and if he's arrogant, well I figure he's earned the right
>> to be.
>>
>
> Nope. You will not find one single line of code posted by Jerry  to a
> certainty in the two years before I finally killed filed the asshole.
>

Which just proves you can't read.  I've posted a lot of code, and the 
archives prove that.

> The salient difference is that Thomasis usually right, .
>
> Neither are especially helpful, but Thomas is at least amusing in his
> pedantry.
>
>
>
>> Rgds
>>
>> Denis McMahon
>
>


-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#6861 — Re: How can i know the propery of a javascript object how can i see what object inclue

From"Peter H. Coffin" <hellsop@ninehells.com>
Date2012-08-26 10:35 -0500
SubjectRe: How can i know the propery of a javascript object how can i see what object inclue
Message-ID<slrnk3kghb.h39.hellsop@nibelheim.ninehells.com>
In reply to#6858
On Sun, 26 Aug 2012 15:46:31 +0200, Christoph Becker wrote:
> Jerry Stuckle wrote:
>> ROFLMAO!  "Pointed Head" shows his stoopidity once again.
>              ^^^^^^^^^^^^
>              Who? ;-)
>> 
>> So tell me, oh great one, exactly which browsers can run PHP code?
>
> I'm actually no "great one", but I can answer this question: at least on
> all browsers, which implement the NPAPI. I'm not aware of any
> PHP-Browser-Plugin, but it can be written, so PHP *can* run on browsers.
>
>> And how many servers are actually running Javascript?
>
> That's not the point. You've said "PHP runs on the server; Javascript
> runs on the client", what might be easily lead to the wrong assumption,
> that "Javascript" can't run on the server.

Perhaps this would be better phrased as "generally doesn't" rather than
as "theoretically could, if someone were to write and install
special-purpose code in order to do so." The point of the vast majoritiy
fo the discussion here is (aside from the nits that pointy Tommy
and a couple others try to pick) is whether something can be done
for/with J. Random Browser, using a typical load or something someone
could reasonably make into a requirement to us a web app.

>> And how can PHP see what objects are included in Javascript?
>
> Actually it can't. But Thomas didn't say so (please note the carets,
> which might not be aligned properly in the news reader, but are so in
> the source code of the message).

That was the point of the original post, to which Jerry said "no, it
can't" and Thomas said "It sure can!" and linked to something that
didn't do that.

-- 
Don't even get me started on the MCSEs I know.  It's a miracle of
modern technology that some of these fsckwits still draw breath,
much less a paycheck.
              -- Marc Bowden

[toc] | [prev] | [next] | [standalone]


#6862 — Re: How can i know the propery of a javascript object how can i see what object inclue

FromChristoph Becker <cmbecker69@gmx.de>
Date2012-08-26 18:53 +0200
SubjectRe: How can i know the propery of a javascript object how can i see what object inclue
Message-ID<k1dkaq$5k3$1@speranza.aioe.org>
In reply to#6861
Peter H. Coffin wrote:
> On Sun, 26 Aug 2012 15:46:31 +0200, Christoph Becker wrote:
>> Jerry Stuckle wrote:
>>> ROFLMAO!  "Pointed Head" shows his stoopidity once again.
>>              ^^^^^^^^^^^^
>>              Who? ;-)
>>>
>>> So tell me, oh great one, exactly which browsers can run PHP code?
>>
>> I'm actually no "great one", but I can answer this question: at least on
>> all browsers, which implement the NPAPI. I'm not aware of any
>> PHP-Browser-Plugin, but it can be written, so PHP *can* run on browsers.
>>
>>> And how many servers are actually running Javascript?
>>
>> That's not the point. You've said "PHP runs on the server; Javascript
>> runs on the client", what might be easily lead to the wrong assumption,
>> that "Javascript" can't run on the server.
> 
> Perhaps this would be better phrased as "generally doesn't" rather than
> as "theoretically could, if someone were to write and install
> special-purpose code in order to do so." The point of the vast majoritiy
> fo the discussion here is (aside from the nits that pointy Tommy
> and a couple others try to pick) is whether something can be done
> for/with J. Random Browser, using a typical load or something someone
> could reasonably make into a requirement to us a web app.
> 
>>> And how can PHP see what objects are included in Javascript?
>>
>> Actually it can't. But Thomas didn't say so (please note the carets,
>> which might not be aligned properly in the news reader, but are so in
>> the source code of the message).
> 
> That was the point of the original post, to which Jerry said "no, it
> can't" and Thomas said "It sure can!" and linked to something that
> didn't do that.

Thomas didn't say: "it sure can". Please see his caret markers: these
clearly indicate, that he regards only the statement "PHP runs on the
server; Javascript runs on the browser" as wrong. I'm not sure, though,
what he meant with "on two accounts" as he set 3 markers.

The hint about FirePHP was an addition to Robert, who pointed out the
developer tools of the browsers (FireBug etc.) And it was quite valuable
(at least for me), as I didn't know that there's a port to Chrome.

-- 
Christoph M. Becker


[toc] | [prev] | [next] | [standalone]


#6867

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2012-08-26 20:47 +0200
Message-ID<4414431.ocNU36q1Oe@PointedEars.de>
In reply to#6862
Christoph Becker wrote:

> Peter H. Coffin wrote:
>> That was the point of the original post, to which Jerry said "no, it
>> can't" and Thomas said "It sure can!" and linked to something that
>> didn't do that.
> 
> Thomas didn't say: "it sure can". Please see his caret markers: these
> clearly indicate, that he regards only the statement "PHP runs on the
> server; Javascript runs on the browser" as wrong.

Exactly.  It is an unfortunate truth that more often than not the people who 
obviously know the least about a topic feel compelled to display their 
ignorance in public, making provably false statements and giving misleading 
advice.  Particularly with ECMAScript implementations.

> I'm not sure, though, what he meant with "on two accounts" as he set 3
> markers.

They were actually two, the second one in a separate line, which marks the 
misnomer, "Javascript".  You can find more about that on 
<http://PointedEars.de/es-matrix>; the problem is off-topic here, but needed 
to be pointed out as well.
 
> The hint about FirePHP was an addition to Robert, who pointed out the
> developer tools of the browsers (FireBug etc.) And it was quite valuable
> (at least for me), as I didn't know that there's a port to Chrome.

It is acceptable to see that at least one person managed to understand what 
I meant.  Of course, that one person also had the intelligence not to fall 
for the resident name-calling troll that started all this nonsense.  Thank 
you.


PointedEars
-- 
    realism:    HTML 4.01 Strict
    evangelism: XHTML 1.0 Strict
    madness:    XHTML 1.1 as application/xhtml+xml
                                                    -- Bjoern Hoehrmann

[toc] | [prev] | [next] | [standalone]


#6870

FromTim Streater <timstreater@greenbee.net>
Date2012-08-26 22:59 +0100
Message-ID<timstreater-BD78CA.22595626082012@news.individual.net>
In reply to#6862
In article <k1dkaq$5k3$1@speranza.aioe.org>,
 Christoph Becker <cmbecker69@gmx.de> wrote:

> Peter H. Coffin wrote:
> > On Sun, 26 Aug 2012 15:46:31 +0200, Christoph Becker wrote:
> >> Jerry Stuckle wrote:
> >>> ROFLMAO!  "Pointed Head" shows his stoopidity once again.
> >>              ^^^^^^^^^^^^
> >>              Who? ;-)
> >>>
> >>> So tell me, oh great one, exactly which browsers can run PHP code?
> >>
> >> I'm actually no "great one", but I can answer this question: at least on
> >> all browsers, which implement the NPAPI. I'm not aware of any
> >> PHP-Browser-Plugin, but it can be written, so PHP *can* run on browsers.
> >>
> >>> And how many servers are actually running Javascript?
> >>
> >> That's not the point. You've said "PHP runs on the server; Javascript
> >> runs on the client", what might be easily lead to the wrong assumption,
> >> that "Javascript" can't run on the server.
> > 
> > Perhaps this would be better phrased as "generally doesn't" rather than
> > as "theoretically could, if someone were to write and install
> > special-purpose code in order to do so." The point of the vast majoritiy
> > fo the discussion here is (aside from the nits that pointy Tommy
> > and a couple others try to pick) is whether something can be done
> > for/with J. Random Browser, using a typical load or something someone
> > could reasonably make into a requirement to us a web app.
> > 
> >>> And how can PHP see what objects are included in Javascript?
> >>
> >> Actually it can't. But Thomas didn't say so (please note the carets,
> >> which might not be aligned properly in the news reader, but are so in
> >> the source code of the message).
> > 
> > That was the point of the original post, to which Jerry said "no, it
> > can't" and Thomas said "It sure can!" and linked to something that
> > didn't do that.
> 
> Thomas didn't say: "it sure can". Please see his caret markers: these
> clearly indicate, that he regards only the statement "PHP runs on the
> server; Javascript runs on the browser" as wrong. I'm not sure, though,
> what he meant with "on two accounts" as he set 3 markers.
> 
> The hint about FirePHP was an addition to Robert, who pointed out the
> developer tools of the browsers (FireBug etc.) And it was quite valuable
> (at least for me), as I didn't know that there's a port to Chrome.

A port of what?

-- 
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted"  --  Bill of Rights 1689

[toc] | [prev] | [next] | [standalone]


#6871

FromChristoph Becker <cmbecker69@gmx.de>
Date2012-08-27 00:20 +0200
Message-ID<k1e7ed$lg2$1@speranza.aioe.org>
In reply to#6870
Tim Streater wrote:
> In article <k1dkaq$5k3$1@speranza.aioe.org>,
> Christoph Becker <cmbecker69@gmx.de> wrote:
> 
>> The hint about FirePHP was an addition to Robert, who pointed out the
>> developer tools of the browsers (FireBug etc.) And it was quite valuable
>> (at least for me), as I didn't know that there's a port to Chrome.
> 
> A port of what?

A port of FirePHP.

<https://chrome.google.com/webstore/detail/cjbeipenlpoeifpkjhgakejmikdhlhcj>
<http://blog.martinhujer.cz/firephp-for-google-chrome/>

[toc] | [prev] | [next] | [standalone]


#6846

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2012-08-25 01:46 +0000
Message-ID<k19aqa$hka$1@dont-email.me>
In reply to#6824
On Tue, 21 Aug 2012 22:18:43 -0700, sismaster wrote:

> i want to know how can i see what object include in java script and is
> there any tool to see what object contains

Your requirement is unclear and ambiguously worded in the context of a php 
newsgroup.

Please restate the problem, including examples of php code you have used, 
what result you expected, and what actually happened.

The normal mechanism for php to receive data from the client is in the 
$_GET or $_POST "superglobal arrays".

http://php.net/manual/en/language.variables.superglobals.php

If the javascript object is being passed as a json string, then you may 
need to use php JSON functions to convert it into a php data object:

http://uk3.php.net/manual/en/ref.json.php

How you send your javascript object from the client is a matter for a 
javacript forum, not a php one.

Rgds

Denis McMahon

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | comp.lang.php


csiph-web