@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> hello
<1> hello
<0> leaving now
<2> hey guys
<2> i need to get the selected name of my <select>
<2> i meen i need to get the item that is selected
<2> how would i achieve this
<3> var f = document.forms['formname'].elements['selectname']; f.options[f.selectedIndex]
<2> sweet thanx Pilum
<4> What is boolean and how can i use it ?
<4> eh ?
<4> does anybody know ?
<3> Just about the most basic programming concept you can encounter.
<2> true/false
<4> It is about 0 and 1 ?



<3> http://en.wikipedia.org/wiki/Truth_value
<3> http://en.wikipedia.org/wiki/Boolean_algebra
<4> JavaScript is quite difficult
<2> its the same as c
<2> well basically
<2> i mean i write in c# and i just larn js over the past 7 days
<4> C , C++ , C# are the same ?
<3> Lol
<3> Not by a long shot.
<4> i started learing C++ but it was difficult and i started Js
<3> And Javascript isn't even comparable to C, ARJUN__
<2> well i dont know c but ido know c# andd well every thing i write is very much the same
<3> That's because you don't really know javascript yet.
<2> and asfar asi know js is c b***ed
<2> yea i suppose
<3> No, js is not c based.
<2> not?
<2> mmmmm
<4> who created Js ?
<3> Brendan Eich
<4> Can we create a scripting language by a programming language ?
<5> Hey guys, is there any way in IE to capture all onchange events?
<3> If you want, zIzzOu. And if you know what you're doing.
<4> hm ok
<4> I only know HTML - CSS and i am learnign Js
<4> i do not know programming yet
<3> http://www.crockford.com/javascript/
<5> Is that a 'nope, there's no way to do it'?
<3> Book marke that for laters.
<3> darkfrog: What's the problem?
<5> Pilum, I want to capture all 'change' events but document.onchange doesn't work for IE (at least IE7)
<3> Of course not.
<5> Pilum, is there a viable alternative?
<3> Capture it for the elements on which it exists.
<5> document.onclick, ondblclick, keypress, etc all work
<3> But the document doesn't have a change event.
<3> Those there works because of bubbling.
<5> Pilum, I can if I have to, but I'm writing an event manager and would prefer not to add the event handler each time.
<4> What is HTML DOM ?
<3> Document Object Model.
<5> Pilum, but onkeypress works as well....
<3> Naturally.
<5> Pilum, I guess IE supports key events on the document though...
<3> You can press a key on the document heh.
<5> okay, it's not too much of a pain to manually add those I guess since I
<5> 'm generating content anyway
<4> Why the version of IE on navigator.appName is 4 when i am using IE7 ?
<3> 1) appName shouldn't even show a version, 2) Why are you even looking for it?
<4> lol , sorry
<4> appVersion
<3> Still, why are you looking for it?
<4> because i am using IE7 but the appVersion shows 4
<3> That's not what I asked.
<4> What am i looking for ?
<3> No, -why-
<4> for the appVersion?
<3> Yes
<4> to learn it
<3> It's not something you should use much.
<4> Is it useful ?
<3> It's often misused.



<4> In my opinion i think is very funny for people who do not know anything about browsers
<4> What is the difference between = , == and === ?
<6> = ***ings, == compares and === is identical
<3> http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Operators:Comparison_Operators
<3> http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Operators:***ignment_Operators
<4> A last question. How long did you study to learn Js ?
<3> I'm on my 11th year and still learning.
<4> Ok.Thanks very much.
<4> Bye...C ya tomorrow.
<3> Bye
<7> onload="x='425';alert(screen.heigh - 'x');"
<7> is this valid javascript?
<8> no
<8> hmm\
<8> wonder what kind of error you will get for undefined - a string
<8> but you will get a property not found first
<7> fixed that one
<7> alert(document.getElementById("two").style.height.value); what about this?
<7> i don't get an alert of an kind ... :(
<7> and my div is <div id="two" style="height: 10px">
<8> you will get a property not found
<7> why is that?
<8> there is not .value
<7> what's the right property of ...
<7> ahm
<7> so document.getElementById("two").style.height would do it?
<7> weird ... not alert for this either ...
<7> <body onload="document.getElementById("two").style.height = (screen.height) - 425 + 'px';"> ... i get a syntax error on this one :(
<7> but i can't see the error
<8> look at the quotes
<7> ooh
<7> hm right ... how should i do it right?
<7> can i use deteementbyid('two') ?
<7> element*
<8> you answered yourself in your own code already
<7> yeah .. i should really read a js tutorial i know :D
<7> is there a way to get the size of the viewport and not the resolution?
<7> in ie screen.availHeight seems to work ... what about FF and other browsers?
<9> bodyWidth = function(){return parseInt(isIE?(!isStrict?document.body.clientWidth: document.documentElement.clientWidth ):window.innerWidth)};
<3> window.innerHeight
<9> need to get isIE and isStrict on your own
<7> thank's :)
<10> anyone here work w/ processing screens?
<9> explain
<10> user puts in flight schedule, hits find tickets.. Processing gif comes up while database is being queried, results page comes up, or window closes and email sent after processing is complete?
<10> wb
<10> did you get all that torgo?
<9> yup
<9> way too busy to get into that
<10> ok :/
<10> can you point me in a direction besides the fm?
<9> do you have js experience?
<10> a bit.. but run into issue w/ both js & php
<10> if there is processing on the page, it hangs up the html display.
<9> yes, you need to use iframes or ajax or special http response codes
<9> i'd start googling
<10> guess I could separate the processing page from the html info page.. "Thank you for.. your results will be emailed to you shortly" and use a header to redirect the page to the processing page.
<10> tried googling.. but Processing Pages Javascript doesn't get expected results.
<7> can i get the width of a div without having it defined in a inline style?
<8> .offsetWidth
<7> onload="reSize();alert(document.getelementbyid('four').offsetWidth);"
<7> not workin' :(
<9> getElementById
<9> try setting style.position prior
<7> oh ... why is js case sensitive?
<9> why not?
<9> programming is an exacting process
<7> ok
<7> well
<7> i gtg
<7> thank's for you help guys :)
<10> guess I could separate the processing page from the html info page.. "Thank you for.. your results will be emailed to you shortly" and use a header to redirect the page to the processing page.
<10> user puts in flight schedule, hits find tickets.. Processing gif comes up while database is being queried, results page comes up, or window closes and email sent after processing is complete?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #javascript
or
Go to some related logs:

#linux
undernet danusia
DQAAAH
jpeglib fedora 6
#php
What country does the tourist mecca of Bali belong to
#AllNiteCafe
yum libpq++
#linuxhelp
wget pass_file



Home  |  disclaimer  |  contact  |  submit quotes